Need help making the player stop when using a tool!

I’ve been searching and trying to figure out how to make the player stop when a tool is activated, to be more specific, I’m trying to make the player stop when a sword does the attack animation.

Thank you.

You can just temporarily set the player’s Walkspeed to 0.

player.Character.Humanoid.WalkSpeed = 0
1 Like

Just lower the humanoid walkspeed to 0

1 Like