In this context a periodic timer should be the last resort ever. Following what DSG said about dead units, you need to set a group variable: set Player2Group = All units of (Units owned by Player 2 (Blue)) matching condition (Matching unit is alive) Equal to True)
And then check the number of units in the group, if less than 1 = boom defeat