$execute unless entity @n[tag=map_center,scores={map_id=$(map_id)}] run return run tellraw @s {"text":"You need a map_center first! This error message should never appear... Try typing /function pctf:mode/map_maker again and see if it fixes it","color":"dark_red"}
$execute at @n[tag=map_center,scores={map_id=$(map_id)}] run tp @s ~ $(y) ~
$kill @n[tag=death_plane,scores={map_id=$(map_id)}]
$execute at @s run summon marker ~ ~ ~ {Tags:["death_plane","new"],CustomName:{"color":"dark_gray","text":"death_plane$(map_id)"}}
$scoreboard players set @n[tag=new] map_id $(map_id)
execute as @n[tag=new] store result score @s y_level run data get entity @s Pos[1]
tag @n[tag=new] remove new
$tellraw @s {"text":"Placed new death plane for map $(map_id)","color":"dark_gray"}