execute at @s[scores={AttackTimer=81}] run fill ~ ~-3 ~19 ~7 ~-10 ~-10 air replace bone_block
execute at @s[scores={AttackTimer=81}] run fill ~ 128 ~19 ~7 128 ~-10 lava
execute as @e[tag=CadeyrnTP,distance=..5] run execute at @s run tp @s ^ ^ ^ facing entity @p

execute at @e[type=armor_stand,tag=BoneBoiPart] positioned ~ ~2 ~ run particle minecraft:witch ~ ~ ~ 0 0 0 00.0001 1 force
execute as @e[type=armor_stand,tag=BoneBoiPart3] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/boneparticles

execute at @s[scores={AttackTimer=81..131}] run execute as @e[type=armor_stand,tag=BoneBoi] run execute at @s run tp @s ~ ~.25 ~
execute at @s[scores={AttackTimer=81..131}] run execute as @e[type=armor_stand,tag=BoneBoiPart] run execute at @s run tp @s ~ ~.25 ~
execute as @s[scores={AttackTimer=81..101}] run execute if predicate suhc:50percent run execute at @s run playsound minecraft:block.fire.extinguish hostile @a[distance=..120] ~ ~ ~ 2 0.5 0.5

execute as @s[scores={AttackTimer=120}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/bonethrowgetplayercoord
execute as @s[scores={AttackTimer=140}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/bonethrowgetbonecoord
execute as @s[scores={AttackTimer=140..160}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/misclevitation

execute as @s[scores={AttackTimer=142..}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/checkmovingbone