i made an endless wave tower defense.
It is actualy quite easy. Set monsters for a wave and keep a current wave variable (initialise it on 1). Every time a monster dies. Monsters-1.
If a wave is over:
if monsters = 0.
CurrentWave+1 -> set monsters <amount>. Let's say currentwave*5
set waveText -> "Wave:"&CurrentWave& " monsters: "&Monsters
repeat untill player is dead..
---------------------------------------------------------------------
Pro tip: For spawning the monsters keep an extra variable OnScreen or something and set it to the amount of monsters
so set OnScreen = Monsters.
---------------------------------------------------------------------
For spawning them:
Onscreen>0
-> MonsterSPawner spawn "Monster".
-> Subtract 1 from Onscreen.