How would I make the player’s speed increase when they walk?
I have looked for solutions, but none worked.
This is my script so far:
while true do
wait (0)
if game.Players.LocalPlayer.Character.Humanoid.MoveDirection.Magnitude > 0 then
game.Players.LocalPlayer.Character.Humanoid.Speed = game.Players.LocalPlayer.Character.Humanoid.Speed + 3
end
end
It is located in Starter Character Scripts.