What’s the best way to approach the NPC spawn mechanic? Do you spawn them blank and use a script to give them clothes, hair and such from the marketplace, or do you have them pulled premade from the replicatedstorage? The NPCs will need to differ in style and whatnot. Which is less invasive and heavier on the game?
I think having then with clothes on i replicatedStorage is the best since you only need 1 Clone and Parent Call instead of multiple for the clothes aswell
you could also have black shirts/ pants and change the assetID though
If you are looking for performance, the MOST optimized way is building them from scratch.
You do need meshes precomputed through AssetService/InsertService and then copied using Instance.fromExisting(); the rest can be built entirely from code.
You can use Hierarchy Saver to speed up the process
Always precompute functions that yield.
2 Likes