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

(Solved)Why MoveTo Function Dosent Work For Me?

I have inserted an NPC into the workspace with the roblox Rig Builder Plugin Then I inserted a script To it , this is was what i writed in the script : ~~~~~~~~~~~~~~~~~ Script.Parent.Humanoid:MoveTo(vector3.new(32,0,0

Here is what the NPC Has : HumanoidRootPart(The Primary Part Of the Model),Joints(Motor6D)

2 answers

✓ Accepted answer

Try WalkToPoint

script.Parent.Humanoid.WalkToPoint = Vector3.new(32,0,0)

Hopefully this helps, I tried using MoveTo() but I have a feeling it is depricated... Cause it never works.. I then found out about WalkToPoint...

The parent must be a humanoid in order to walk to the point.

you have to move the character model

Script.Parent:MoveTo(vector3.new(32,0,0)

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