execute at @s[scores={SandWaveTimer=31}] run execute at @e[type=armor_stand,name=CadeyrnFight] positioned ~ 154 ~ run fill ~-30 153 ~-30 ~30 153 ~30 minecraft:command_block{auto:1b,Command:"summon armor_stand ~ ~ ~ {Tags:[\"PhaseSand\"],CustomNameVisible:0,NoGravity:1b,Small:0,Invisible:1b,Silent:1b}",TrackOutput:0} replace yellow_terracotta
execute at @s[scores={SandWaveTimer=33}] run execute as @e[type=armor_stand,tag=PhaseSand] run function zzzzdonotuse:cadeyrn/attacks/phasetransition/summonsand

execute at @s[scores={SandWaveTimer=33}] positioned ~22 132 ~ run playsound minecraft:entity.wither.shoot hostile @a[distance=..100] ~ ~ ~ 0.65 0.5 0.5
execute at @s[scores={SandWaveTimer=33}] positioned ~-22 132 ~ run playsound minecraft:entity.wither.shoot hostile @a[distance=..100] ~ ~ ~ 0.65 0.5 0.5
execute at @s[scores={SandWaveTimer=33}] positioned ~ 132 ~22 run playsound minecraft:entity.wither.shoot hostile @a[distance=..100] ~ ~ ~ 0.65 0.5 0.5
execute at @s[scores={SandWaveTimer=33}] positioned ~ 132 ~-22 run playsound minecraft:entity.wither.shoot hostile @a[distance=..100] ~ ~ ~ 0.65 0.5 0.5