Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I disable character movement? [closed]

Asked by
jdflyer -9
7 years ago

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.

0
anchor the player and then animate it and again unanchor the player greatneil80 2647 — 7y

Closed as Not Constructive by hiimgoodpack, abnotaddable, and Thundermaker300

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

3 answers

Log in to vote
1
Answered by 7 years ago

This is a Local script.

game.Players.LocalPlayer.PlayerScripts.ControlScript.Disabled = true
Ad
Log in to vote
0
Answered by
NexeusX 137
7 years ago

Try changing the walkspeed to 0.001

0
The movement animation still plays, and the player can still move. This would also affect the WalkToPosition() AdministratorReece 193 — 7y
0
but you can still move............ hiimgoodpack 2009 — 7y
Log in to vote
0
Answered by 7 years ago

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.

0
Disabling the ControlScript works to stop movement as well SSSpencer413 30 — 7y