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.
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
local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls() controls:Disable()
moveto(humanoid.rootpart.position + vector3.new(0,0,0.5))
big brain move
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
Use @Dav_Jacobs code. His looks good
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