How to make an npc walk to a random part while following waypoints in a folder

I’m trying to do an NPC that walks around the city but I don’t know how to do it.

So imagine this, the script gets a random waypoint from a folder.
12345
Then the NPC follows the other waypoints to get to that random picked waypoint.
1234678
Not this:
123456
I’m not asking for the full code
Thanks for helping

1 Like