Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Increase speed with each step?

How to increase speed every time you walk? For example, each step you take increases speed 1

1 answer

Put this in starter player.

script.Parent.Humanoid.Running:Connect(function(speed)  
   while (speed > 0)
   do
   print("Player is moving")
   speed += 1
   wait(1) -- change to how long it takes to take a step
   end
   print("Player stopped")
   -- if you want to reset speed when they stop, do it here (default speed is 16)
end)

This script is not tested.

This discussion is preserved as it was. New answers, comments, and votes are closed.