RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a shift to sprint"
-- local script local player = game:GetService("Players").LocalPlayer local sprinting = false local function sprint() if sprinting then sprinting = false player.Character.Humanoid.WalkSpeed = 16 else sprinting = true player.Character.Humanoid.WalkSpeed = 50 end end player:GetMouse().KeyDown:Connect(function(key) if key == "Shift" then sprint() end end)