Hi, quick query about CollectionService.
So I’m using this to mark when a NPC has spawned in-game and following this it’ll then generate the follow Mechanic etc.
Eg:
CollectionService:GetInstanceAddedSignal("Marker"):Connect(function(Marker)
while true do wait()
-- Follow mechanic etc.
end
end)
So I assume that for each NPC this will create a new While true loop.
I was just wondering if this is the best way of doing so? Or will there be noticeable performance issues when say 15 NPCs spawn and having 15 while true do loops repeating.