basics for making a player die