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

5 comments

0

iterate through whatever object contains all the enemies

0

its the workspace if thats what you mean?

0

No, he means use a for loop and count the amount of enemies

0

try workspace:GetChildren

0

ok thx