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 an NPC move at to a designated direction?

I was thinking about making a Fashion or clothing exhibition. I then got the idea of making a runway for it to look better and more unique than the other homestores. I've already made 60% of the game but my only problem is how to move an NPC to my designated position.

1 answer

If it's a known, unobstructed path, you can just use Humanoid:MoveTo(position), where position is a Vector3 where you want the NPC to walk towards. There is a PathfindingService for generating waypoints for more complicated NPC navigation, but this shouldn't be needed if the path is predetermined as it would be for a runway.

1 comment

0

big brain emily woaaaaaaaah

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