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

How would I set a MoveTo to nil?

This is refering to the humanoid. Moving the moveto to the torso will not work, because the enum will end up returning running.

3 comments

0

This is a bit confusing. First off I'm not sure what you are trying to use :MoveTo with. :MoveTo you need either a Model or a Part with a position. Perhaps you could provide a line of code to help me understand what you are trying to do

0

MoveTo can also refer to Humanoid. It's the same as WalkToPoint

0

how do i basically stop a moveto

1 answer

✓ Accepted answer

"how do i basically stop a moveto"

To stop the action followed by calling the MoveTo function, assuming you're intending to stop a humanoid from walking, you need to use the MoveTo function again, but with arguments of the character's current position.

local humanoid --Define

humanoid:MoveTo(humanoid.Parent.Torso.Position)

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