In my game, I want players to gain movement speed as they move, losing speed if they stop. How do I go about that?

4 comments

0

Can you please describe in further detail what you are trying to do?

0

He wants acceleration. Connect the humanoid running event to a walkspeed change.

0

I was trying to see if I could get some example code. I have no idea how to do what you said. Cabbler.

0

this isnt a request site; however, i'll give you a idea of how to do it. you can try defining tick() in a variable, then subtract tick() - variable to get how much the walkspeed increases by (speed = default_speed + (tick() - variable)). As for losing walkspeed, you can set it back to the default walkspeed when the .Running event returns 0.