I tried using an if statement but it didnt work.
repeat script.Parent:MoveTo(game.Workspace.goingto.Position) wait(0) until script.Parent.Parent.HumanoidRootPart.Position == Vector3.new(133.102, 3.55, 55.771)
Never, EVER check the humanoid position to stop a walk to. Use the movetofinished event
while true do script.Parent:MoveTo(game.Workspace.goingto.Position) script.Parent.MoveToFinished:Wait() end