refactoring and fixing, now using PlayerDeathEvent instead of PlayerRespawn