tp @s ^ ^ ^.5 ~-.695 ~
fill ~2 90 ~2 ~-2 55 ~-2 minecraft:obsidian
scoreboard players add @s KyuEndWall 1


#execute as @s[scores={KyuEndWall=73}] run setblock ~ 70 ~ minecraft:structure_block[mode=load]{name:"suhc:wallentrance",posX:-5,posZ:-5,posY:0,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:1b} destroy
#execute as @s[scores={KyuEndWall=73}] run setblock ~ 71 ~ redstone_block
execute as @s[scores={KyuEndWall=..120}] run execute at @s run function zzzzdonotuse:enderdragon/summonwall2
execute if predicate suhc:endcrystalchance run execute at @s positioned ~ 91 ~ run summon armor_stand ~ ~ ~ {Tags:["KyuCrystalSumm"],NoGravity:1b,Invulnerable:1b,Marker:1b,Invisible:1b,Silent:1b,Silent:1b,Rotation:[90F,0F]}
#setblock ~ 70 ~ minecraft:structure_block[mode=load]{name:"suhc:endcrystals",posX:-4,posZ:-4,posY:-1,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
kill @s[scores={KyuEndWall=120..}]


