When a player dies without taking damage from a zombie, they will turn into a grave block
When a player dies, they turn into a zombie. That zombie will have the name of the deceased player