scoreboard players add @s AttackTimer 1

execute at @s[scores={AttackTimer=1}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/bonethrowstart
execute as @s[scores={AttackTimer=1..75}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/bonethrowmovecadeyrn
execute as @s[scores={AttackTimer=76..}] run function zzzzdonotuse:cadeyrn/attacks/bonethrow/movebonestart
#execute at @s[scores={AttackTimer=81..}] run 
execute as @s[scores={AttackTimer=71..91}] run execute at @e[sort=random,limit=1,type=armor_stand,name=METEORKYU] if block ~ ~1 ~ minecraft:bedrock run execute at @s run playsound minecraft:block.chest.close hostile @a[distance=..120] ~ ~ ~ 2 0.5 0.5

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



#execute at @s[scores={AttackTimer=81}] run fill ~ 128 ~19 ~7 128~-10 lava





#execute at @e[tag=CadeyrnTP] run tp @e[tag=CadeyrnTP,distance=..3] @e[type=armor_stand,name=Fireman2,limit=1]



#summon minecraft:armor_stand ~ ~-28 ~ {Invisible:1b,Silent:1b,Tags:["DiePls","BoneBoi"],NoGravity:1,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:bone_block",Properties:{axis:"z"}},Time:1,NoGravity:1,Tags:["DiePls","BoneBoiSand","BoneBoiPartM"],}],Rotation:[-135F,0F]}









#execute at @s[scores={AttackTimer=1..85}] run function zzzzdonotuse:cadeyrn/attacks/dochargeparticle

