execute if entity @e[type=armor_stand,name=CadeyrnFight,scores={KyuDummy=1..}] run execute as @e[type=armor_stand,tag=CadeyrnCheStand] run function zzzzdonotuse:cadeyrn/attacks/deathanim/spawnchests2
scoreboard players remove @e[type=armor_stand,name=CadeyrnFight] KyuDummy 1
execute if entity @e[type=armor_stand,name=CadeyrnFight,scores={KyuDummy=1..}] run execute as @e[type=armor_stand,tag=CadeyrnCheStand2] run function zzzzdonotuse:cadeyrn/attacks/deathanim/spawnchests2
scoreboard players remove @e[type=armor_stand,name=CadeyrnFight] KyuDummy 1

execute if entity @e[type=armor_stand,name=CadeyrnFight,scores={KyuDummy=1..}] run function zzzzdonotuse:cadeyrn/attacks/deathanim/spawnchests