How would I make an NPC move around randomly?

I want an NPC that moves around randomly and gives quests, how would I make movements?

6 Likes

Use Pathfinding or use magnitude + moveto().

1 Like

You can pre-position a couple of invisible bricks around the map then you can move the NPC to a random part. After they finish walking, pick another random part and make them walk to that part, etc.

You can use Pathfinding service or alternatively, you can check out my Pathfinding Module that can easily help you achieve this with just a few lines.

5 Likes