Hey there, I've decided to begin making a game involving animal NPCs- currently, they don't need to be interactive, but I'd like them to roam around a biome/exhibit on their own. Looking it up, I could only find tutorials on how to make NPCs follow certain paths or travel from point A to point B. I'm sure I could figure out a way for this to work using paths, etc, but I don't particularly want the animals to be predictable and easy for players to locate.
As a summary- I need various NPC animals to wander around randomly, does anybody know a way I could do this?
Thanks for any help!
-Luminossy

3 comments
Try MoveTo() and math.random.
you need 2 cordinates for the moveto command
Learn about R6 and R15 characters, Pathfinding Serice, and raycasting.