tag @s add tpdead
execute run summon marker ~ ~ ~ {Tags:[tpdeadmarker]}
execute as @e[type=marker,tag=tpdeadmarker,sort=nearest,limit=1] run function survivalplus:tools/pot/tpdeadtp
advancement revoke @s only survivalplus:tools/tpdeadpot