
scoreboard players add @s AttackTimer 1

execute at @s[scores={AttackTimer=1..15}] run particle minecraft:crit ~ ~ ~ 0 0 0 0.15 10 force

execute as @s[scores={AttackTimer=5}] run effect clear @s minecraft:levitation

execute as @s[scores={AttackTimer=1}] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/entitychargestart
execute as @s[scores={AttackTimer=24..200}] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/entitychargegotomiddle

execute as @s[scores={AttackTimer=220..}] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/entitychargerotatemain
execute as @s[scores={AttackTimer=760..}] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/reset


#execute as @s[scores={AttackTimer=202}] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/entitychargestand
#execute as @s[scores={AttackTimer=220..}] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/entitychargepart2
#execute at @s[scores={AttackTimer=1..30}] run execute as @e[type=armor_stand,tag=FireLine] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/entitychargemove

#execute at @s[scores={AttackTimer=131..160}] run execute as @e[type=armor_stand,tag=FireLine] run function zzzzdonotuse:cadeyrn/attacks/entitycharge/entitychargemoveback
#execute as @a[tag=CadeyrnFightTag,gamemode=!spectator] run execute at @s run execute if block ~ ~ ~ soul_fire run effect give @s wither 1 10

#execute at @s[scores={AttackTimer=600}] run kill @e[type=armor_stand,tag=FireLine]
#execute as @s[scores={AttackTimer=200}] run execute as @e[type=armor_stand,tag=FireLine] run function zzzzdonotuse:cadeyrn/attacks/firesheet/reset




