Managing Groups of NPCs

I’ve seen a few topics about using the Collection Service, OOP, and Client-Side handling for NPCs but I’m still not sure how to make this all fit together. I want to make smart NPCs (somewhat anyways) that are efficient and lag free, though I haven’t a clue of where to start.

Do I have a single script handle everything or do I have one to manage each individual? If so, how would I go about adding similar but different NPCs if it’s all using the same code?

There’s quite a bit I’m still trying to figure out with this. If you’re able to provide any help or some other resources, I’d be very appreciative.

1 Like

Some resources are Character Pathfinding and PathfindingService

1 Like

I would suggest creating a module script for pathfinding. ModuleScript

1 Like