HI all I am trying to find a way to cancel humanoid.moveto() i have tried using moveto(humanoid.rootpart.position) but I think there is a delay on this as it will force the player to move slightly back. Does anybody know how to just stop the player.
1 Like
You can just anchor the player. That will stop all movement.
If your doing it in a local script then:
game.Players.LocalPlayer.Character.Archivable = true
game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
OR
local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
controls:Disable()
1 Like
moveto(humanoid.rootpart.position + vector3.new(0,0,0.5))
big brain move
2 Likes
I still want the player to be able to move though i just want to cancel the moveto() and still enable movement.
im really not joking do my code
I tried it, same problem. I fixed it though I was trying to control the movement through the server script i forgot that the player is client network owned.
Set humanoid walkspeed to 0 and after seconds the moveto will be canceled
1 Like