execute at @s align zx run tp @s ~0.5 ~ ~0.5
$execute at @s unless entity @e[tag=!map_center,tag=!map_lobby,scores={map_id=$(map_id)},distance=..0.5] run return run tellraw @s {"text":"No valid markers here with score map_id=$(map_id)!","color":"red"}
$execute at @s run say Destroyed @e[tag=!map_center,tag=!map_lobby,scores={map_id=$(map_id)},distance=..0.5,limit=1]
$execute at @s run kill @e[tag=!map_center,tag=!map_lobby,scores={map_id=$(map_id)},distance=..0.5,limit=1]
execute at @s run playsound minecraft:block.froglight.break player @a ~ ~ ~ 0.5 0
execute at @s run particle minecraft:sculk_charge_pop ~ ~ ~ 0 0 0 0.2 100