tellraw @a ["",{"text":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}]

kill @e[name=checkpoint]
summon armor_stand ~ ~ ~ {NoGravity:1b,Invulnerable:1b,Marker:1b,Invisible:1b,PersistenceRequired:1b,DisabledSlots:4144959,ArmorItems:[{},{},{},{id:"minecraft:iron_block",Count:1b}],CustomName:"{\"text\":\"checkpoint\"}"}

scoreboard players operation x checkcoord = x display
scoreboard players operation y checkcoord = y display
scoreboard players operation z checkcoord = z display
scoreboard players operation w checkcoord = w display

scoreboard players set exist checkcoord 1

kill @e[type=item]

