kill @e[type=armor_stand,tag=BoneBoiPart]
kill @e[type=armor_stand,tag=BoneBoiPart1]
kill @e[type=armor_stand,tag=BoneBoiPart2]
kill @e[type=armor_stand,tag=BoneBoiPart3]
kill @e[type=armor_stand,tag=BoneBoi]
#kill @e[type=armor_stand,tag=DiePls]
data merge block ~ ~ ~ {auto:0b}
scoreboard players set @s AttackTimer 0
tag @s add ThrewBigBone
#reset position
execute at @e[name=DayQ,type=armor_stand] run data merge block 999991 137 999988 {auto:1b}

tag @s remove MidAttack

execute at @e[name=CadeyrnFight] positioned ~-17 ~29 ~19 run fill ~-15 ~-15 ~-15 ~15 ~15 ~15 air replace command_block
execute at @e[name=CadeyrnFight] positioned ~-17 ~29 ~19 run fill ~-15 ~-15 ~-15 ~15 ~15 ~15 air replace structure_block