i have 6 npcs, same script, same tables, all pathfinding to houses. when i run the game, i have 2 tables for NPC color and NPC name.
when i run the game they all end up having the same name and color. i even tried math.randomseed(tick()) but nothing has changed.

3 comments
Are you changing the Colors and Names all through a single script or through an individual script for each NPC?
6 npcs with the same script, same tables, using math.random
Show us the code please, it could be that you generate only 1 random value and set all the NPC's to that.