Created the player crashing method