Can you make a death effect with a coordinate system?

Did you use this coordinate system guide?
You could teleport the player to a certain location where the death animation takes place.