summon minecraft:armor_stand ~ ~ ~ {Marker:1b,Invisible:0,NoGravity:1,Tags:["CityChecker"]} execute store result entity @e[tag=CityChecker,limit=1] Pos[0] double 1 run data get entity @s Brain.memories."minecraft:meeting_point".value.pos[0] execute store result entity @e[tag=CityChecker,limit=1] Pos[1] double 1 run data get entity @s Brain.memories."minecraft:meeting_point".value.pos[1] execute store result entity @e[tag=CityChecker,limit=1] Pos[2] double 1 run data get entity @s Brain.memories."minecraft:meeting_point".value.pos[2] execute as @e[tag=CityChecker] at @s if entity @s[tag=CityCenter,distance=..10] run kill @s execute as @e[tag=CityChecker] at @s run summon minecraft:armor_stand ~ ~ ~ {Marker:1b,Invisible:0,NoGravity:1,Tags:["CityCenter"]} execute as @e[tag=CityChecker] run kill @s