Implemented IsDead check for players