RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a shift to sprint"
-- local script local player = game.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.Character:GetPropertyChangedSignal("Humanoid"):Connect(function() if player.Character.Humanoid.MoveDirection.Magnitude > 0 and player.Character.Humanoid.Jump == false and player.Character.Humanoid.Running == false then sprint() end end)