here it is:
float timer begin gameModeif PLWave5BOSSREF.GetDead ==1if (( timer < (40) ) && (PLWave6REF.getDisabled ==1))set timer to timer + getSecondsPassedreturnelseSetStage PLWaves6to10 6 PLWave6REF.Enablemessage "Wave 6" ,15 endifendif
float timer begin gameModeif PLWave5BOSSREF.GetDead ==1if (( timer < (40) ) && (PLWave6REF.getDisabled ==1))set timer to timer + getSecondsPassedreturnelseSetStage PLWaves6to10 6 PLWave6REF.Enablemessage "Wave 6" ,15 endifendif