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=marker,tag=BoneBoiPart] positioned ~ ~2 ~ run particle minecraft:witch ~ ~ ~ 0 0 0 00.0001 1 force
execute as @e[type=marker,tag=BoneBoiPart3] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/boneparticles

execute at @s[scores={AttackTimer=81..131}] run execute as @e[type=block_display,tag=BoneBoi] run execute at @s run tp @s ~ ~.25 ~
execute at @s[scores={AttackTimer=81..131}] run execute as @e[type=marker,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

#new
execute as @s[scores={AttackTimer=120}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/bonethrowlook
execute as @s[scores={AttackTimer=140}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/bonethrowmovingblockslook
execute as @s[scores={AttackTimer=140..}] run execute as @e[type=block_display,tag=BoneBoi] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/moveboneforward


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