No, not actual bugs...just there are certain ways to go about things and it's more probably you not understanding how the program works overall, logic wise. Best of luck!
i have a enemy ok??
talk about 1
every 5 second if global is less 10 he spawn in random zone
when he spawn make in global variable +1 "i need for know how many enemy is n the map"
when i destroy it +1 score +1 dead this enemy -1 global variable.. cause if is less 10 i want he spawn
and thi for other 5 enemy..
from the start.. work good but when a end level is approaching all stop to work and i have al map clean