Deathposition

How do I implement a save/teleport of my deathposition?
Continue to help post