How do you handle Humanoid's WalkSpeed?

Heyo! I’m Krill, an intermediate Lua Scripter. I was wondering how’d you guys handle Humanoid WalkSpeed, for example: Sprinting (but then suddenly you get Slowness II?!)

In my most recent project i just added a number value named “WalkspeedMultiplier” and updated the walkspeed of the player everytime this value changed

2 Likes

Yeah, what Uri said is good. If you have multiple scripts that want to change the player’s walkspeed, I’d definitely just recommend making them change a “humanoid speed multiplier” value and then have a separate script that changes the humanoid’s speed based on that value. That’d be good so no changes in the walkspeed start interfering with each other and… yeah.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.