player death handling and death animation