How do I stop a player after player:move

Player:move says it will make the player “walk in the given direction until stopped, or interrupted by the player (by using their controls)” but I cannot for the life of me find how to stop it. The character just starts infinitely moving forward. How do I stop them? I am replacing the default character controls using my own ControlScript.

local Controller = require(game.Players.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")):GetControls()

Controller:Disable() --disables movement
Controller:Enable() --enables movement```

Just use Player:Move() and put the player’s character current position.

Player:Move(Player.Character:GetPivot().Position)

I’m replacing default player controls, so the playermodule doesn’t exist. But I can try remaking them and see what they do that makes the character stop

That didn’t work, and just made the character turn and walk in a different direction. But thank you!

1 Like

You can also try setting their walk speed to 0 in case they are moving. After that, disable “ControlScript” in the player>PlayerScripts. Then set the walk speed back to normal.

1 Like