Code:
action firework_action()
{
  my.invisible = on;
  My.passable = on;
  while(1) 
  {
     if(key_m){
        snd_play(shellknal,100,0);
        firework();
     }
     while(key_m){wait(1);}
     wait(1);
  }
  
}


this will allow you to repeat your fireworks with pressing the m key again



Ubi bene, ibi Patria.