im trying to write a wave script but in order to do that i need to create a variable which can call upon how many enemy's i have left in the game i was wondering if anyone knows how to do it because I cant find it anywhere on google
COMMUNITY QUESTION
how do i get a number of enemy in a variable?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
iterate through whatever object contains all the enemies
its the workspace if thats what you mean?
No, he means use a for loop and count the amount of enemies
try workspace:GetChildren
ok thx