fill ~-13 ~-13 ~-13 ~13 ~13 ~13 air replace red_glazed_terracotta 
execute at @s run fill ~-10 ~-10 ~-10 ~10 ~10 ~10 air replace repeating_command_block
execute at @s run fill ~-10 ~-10 ~-10 ~10 ~10 ~10 air replace command_block

execute at @s run fill ~-10 ~-10 ~-10 ~10 ~10 ~10 air replace warped_sign
execute at @s positioned ~ ~2 ~-9 run fill ~ ~ ~ ~ ~1 ~1 air


execute at @s run fill ~-28 ~6 ~-28 ~28 ~-1 ~28 cut_sandstone replace bedrock
execute at @s run fill ~-28 ~-6 ~-28 ~28 ~-1 ~28 cut_sandstone replace bedrock
execute at @s run fill ~-28 ~-6 ~-28 ~28 ~-11 ~28 cut_sandstone replace bedrock
execute at @s run fill ~-28 ~-16 ~-28 ~28 ~-11 ~28 cut_sandstone replace bedrock
execute at @s run fill ~-28 ~-16 ~-28 ~28 ~-21 ~28 cut_sandstone replace bedrock
execute at @s run fill ~-28 ~-26 ~-28 ~28 ~-21 ~28 cut_sandstone replace bedrock


execute at @e[distance=..25,tag=EndSkelly1] run summon skeleton ~ ~-.5 ~ {Invincible:1,PersistenceRequired:1b,NoAI:1b,Rotation:[0F,90F],Tags:["GKNameTag"],HandItems:[{id:"minecraft:golden_sword",Count:1b},{}]}
execute at @e[distance=..25,tag=EndSkelly2,tag=SwordSkelly] run summon skeleton ~ ~-.5 ~ {Invincible:1,PersistenceRequired:1b,NoAI:1b,Rotation:[180F,90F],Tags:["GKNameTag"],HandItems:[{id:"minecraft:golden_sword",Count:1b},{}]}
execute at @e[distance=..25,tag=EndSkelly2,tag=BowSkelly] run summon skeleton ~ ~-.5 ~ {Invincible:1,PersistenceRequired:1b,NoAI:1b,Rotation:[180F,90F],Tags:["GKNameTag"],HandItems:[{id:"minecraft:bow",Count:1b},{}]}
execute at @e[distance=..25,tag=EndSkelly3] run summon skeleton ~ ~-.5 ~ {Invincible:1,PersistenceRequired:1b,NoAI:1b,Rotation:[-90F,90F],Tags:["GKNameTag"],HandItems:[{id:"minecraft:bow",Count:1b},{}]}

execute as @e[distance=..25,tag=EndSkelly1] run kill @s
execute as @e[distance=..25,tag=EndSkelly2] run kill @s
execute as @e[distance=..25,tag=EndSkelly3] run kill @s


kill @s[type=marker]