Just press space,after the enemy dies wait 5 seconds and it resets.
This is my first project so don't blame me if this is kinda bad.