Spawning Issue

How do I make the game not spawn a character if the player dies right when he it passes the level because when that happens on the next level he spawns 2 times then there are 2 characters in the game and when they die it counts towards 2 lives example : level 1 say you have 3 lives left right before you kill the enemy you die killing the enemy at the same time well on the next level you spawn right but twice because I already have your character there so the one that died before spawns now there are 2 how can I stop that
Comments