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

How do I make a NPC walk to a specific spot when timed?

I don't know how to script. But I tried getting a walking NPC and tried to edit the script. That did not work

** So I tried looking up tutorials **

That did not work

Since I don't know how I tried using this script.

script.parent.("Example NPC") (walk.distance ("0,5,6") -- The distance I used I believe. ("Animate") walk. position.as.earned

end end end

(I searched up the script)

1 comment

0

Humanoid:MoveTo()

1 answer

Try putting this in the NPC:

-- Assuming your NPC has a humanoid...
script.Parent.Humanoid:MoveTo(0, 0, 0) -- Replace the 0's with desired coordinates. (X, Y, Z)

1 comment

0

Thank you so much for the help.

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