beginscript; if (GetGlobalVar(0)==1) { EndFrame(); goto wait; } label wait: DespawnOtherUnit(chekdist); TeleportOtherUnit(chekdist, Fire1, 0, 0); SpawnOtherUnit(chekdist); WaitForTime(5); EndFrame(); goto wait; label End: EndFrame(); goto End; endscript; $