Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I know when all my NPC's have died?

Asked by 3 years ago

So I don't really think this requires a code for me to show you guys as the question is pretty self - explanatory. I have asked this question once but nobody has replied for a very long time, so I have decided to reopen this topic to everyone. So I have a bunch of Npc's in a folder in workspace, and I want to play a tween that opens a gate once the script has confirmed all the Npc's have died. So how would I make it that the script continuously checks if all my NPC's have died?

I appreciate all your help on this. :)

Looking forward to some brilliant answers.

0
A way you could go about it is creating a table and when an npc dies you add it to the table and run through it to see how many have died. tightanfall 110 — 3y
0
I will try sne_123456 439 — 3y

Answer this question