I need to disable character movement, but I can't set Jump Power to 0 and walk speed to 0 because I need to use Humanoid.WalkToPosition to move the character.
COMMUNITY QUESTION
How do I disable character movement?
3 answers
This is a Local script.
game.Players.LocalPlayer.PlayerScripts.ControlScript.Disabled = true
Try changing the walkspeed to 0.001
2 comments
0
The movement animation still plays, and the player can still move. This would also affect the WalkToPosition()
0
but you can still move............
You should just be able to anchor the charachter whilst you aren't needing to walk it. Note this will disable idle anims. I think there's a way to disable user input but I'm not going to search the wiki for it.
1 comment
0
Disabling the ControlScript works to stop movement as well
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
anchor the player and then animate it and again unanchor the player