             for _ in 0 ... enemyArray.count - 1 {
                 enemyArray.remove(at: 0)
             }
+            for _ in 1...10 {
+                spawnEnemies()
+            }
         }
         
         self.playerDied = false

            if !(enemy?.intersects(self))! {
                enemyArray.remove(at: enemyArray.index(where: { $0 == enemy })!)
                enemy?.removeFromParent()
                
                for _ in 1...10 {
                    spawnEnemies()
                }
            }
        }


            self.addChild(badGuys)
        }
        
        backgroundMusic = SKAudioNode(fileNamed: "GameOff_Odyssey.mp3")
        self.addChild(backgroundMusic)
        backgroundMusic.run(SKAction.play())
