I’ve had 5 enemies within my level before creating the win screen and win condition of killing all of the enemies. When I got to testing it, I would win, even with 4 enemies left. I didn’t see any issues with my code, and messed around with the editor.
I duplicated an enemy near me, and had to kill both of them to win. But it still didn’t recognize the other enemies in my level. I know I can go through and just make more enemies, but I was just curious as to why it recognizes duplicated enemies after I implemented the code, but not the ones from before.