execute unless score @s countdown matches ..0 unless score @s countdown matches 0.. run scoreboard players set @s countdown 70

execute align xz run tp @s ~.5 ~ ~.5

execute if score @s countdown matches 60 run data modify entity @s ArmorItems[3] set value {}
execute if score @s countdown matches 60 run function attacks:ent_summon/sound
execute if score @s countdown matches 60 run data modify entity @s ArmorItems[0] set value {id:"leather_boots",Count:1,tag:{display:{color:5522464}}}

execute if score @s countdown matches 50 run function attacks:ent_summon/sound
execute if score @s countdown matches 50 run data modify entity @s ArmorItems[1] set value {id:"leather_leggings",Count:1,tag:{display:{color:10578715}}}

execute if score @s countdown matches 40 run function attacks:ent_summon/sound
execute if score @s countdown matches 40 run data modify entity @s ArmorItems[2] set value {id:"leather_chestplate",Count:1,tag:{display:{color:8541485}}}

execute if score @s countdown matches 30 run function attacks:ent_summon/sound
execute if score @s countdown matches 30 run data modify entity @s ArmorItems[3] set value {id:"player_head",Count:1b,tag:{SkullOwner:{Id:[I;9,9,9,9],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTZlODVlMzJiNzVlOTcyZTEwYjI1NmQ1NDk2NGUxOWYxYThiMzk0MDk1YWQ5ZjMzMWI4ODg0MDlkZTIifX19"}]}}}}

execute if score @s countdown matches 20 run function attacks:ent_summon/sound
execute if score @s countdown matches 20 run fill ~ ~ ~ ~ ~ ~ oak_wood replace #ykw:replaceable

execute if score @s countdown matches 10 run function attacks:ent_summon/sound
execute if score @s countdown matches 10 run fill ~ ~1 ~ ~ ~1 ~ oak_wood replace #ykw:replaceable

execute if score @s countdown matches 0 run function attacks:ent_summon/end
