$execute at @n[tag=map_center,scores={map_id=$(map_id)}] run tp @s[type=player] ~ ~20 ~

$tellraw @a[tag=dev] {"text":"Destroying map$(map_id)","color":"dark_red"}

$function pctf:create_game_object/block_clearer_instant/start_destroyer {map_id: "$(map_id)"}

$tag @n[type=marker,tag=blue_flag_dropoff,scores={map_id=$(map_id)}] remove captured_light_purple
$tag @n[type=marker,tag=blue_flag_dropoff,scores={map_id=$(map_id)}] remove captured_yellow
$tag @n[type=marker,tag=red_flag_dropoff,scores={map_id=$(map_id)}] remove captured_aqua
$tag @n[type=marker,tag=red_flag_dropoff,scores={map_id=$(map_id)}] remove captured_green

kill @e[type=zombie]
kill @e[type=item]
kill @e[type=minecraft:llama]
kill @e[type=minecraft:experience_orb]
kill @e[type=pig]
kill @e[type=rabbit]
kill @e[type=llama]
kill @e[type=minecraft:cave_spider]
kill @e[type=horse]
kill @e[type=cow]
kill @e[type=marker,name=meteor_storm_marker]

execute as @n[type=marker,tag=rlgl] run scoreboard players set @s generic_timer 50
kill @n[type=marker,tag=milk]
kill @n[type=marker,tag=railgun]