Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Using the :MoveTo() command while disabling the wasd controls?

So, I know that the normal code would look something like this game.Workspace.Player1.Humanoid:MoveTo(game.Workspace.Part.Position) however, I'm curious as to how to make it so you cannot move while this command is running.

1 comment

0

There used to be a way to remove player control with the ControllerService but I can no longer find anything about that on the wiki. Maybe someone else knows how.

1 answer

You could always just anchor the player.

game.Workspace.Player1["Left Arm"].Anchored = true
game.Workspace.Player1["Right Arm"].Anchored = true
game.Workspace.Player1["Left Leg"].Anchored = true
game.Workspace.Player1["Right Leg"].Anchored = true
game.Workspace.Player1["Torso"].Anchored = true
game.Workspace.Player1["Head"].Anchored = true

1 comment

0

I am pretty sure that would stop the command all together....

This discussion is preserved as it was. New answers, comments, and votes are closed.