execute as @s[scores={AttackTimer=1..10}] run execute as @e[type=armor_stand,tag=P2SlashStand] run function zzzzdonotuse:cadeyrn/attacks/p2chargeslash/p2chargeslashmoveup
execute as @s[scores={AttackTimer=11..16}] run execute as @e[type=armor_stand,tag=P2SlashStand] run function zzzzdonotuse:cadeyrn/attacks/p2chargeslash/p2chargeslashmovedown
execute as @s[scores={AttackTimer=17..23}] run execute as @e[type=armor_stand,tag=P2SlashStand] run function zzzzdonotuse:cadeyrn/attacks/p2chargeslash/p2chargeslashmovedown2
execute as @s[scores={AttackTimer=24..30}] run execute as @e[type=armor_stand,tag=P2SlashStand] run function zzzzdonotuse:cadeyrn/attacks/p2chargeslash/p2chargeslashmoveup2
execute as @s[scores={AttackTimer=31..39}] run execute as @e[type=armor_stand,tag=P2SlashStand] run function zzzzdonotuse:cadeyrn/attacks/p2chargeslash/p2chargeslashmovedown3
execute as @s[scores={AttackTimer=40..50}] run execute as @e[type=armor_stand,tag=P2SlashStand] run function zzzzdonotuse:cadeyrn/attacks/p2chargeslash/p2chargeslashmoveaway
execute as @s[scores={AttackTimer=50..61}] run execute as @e[type=armor_stand,tag=P2SlashStand] run function zzzzdonotuse:cadeyrn/attacks/p2chargeslash/p2chargeslashmoveaway2

execute as @s[scores={AttackTimer=1..39}] run execute at @s run execute unless block ~ ~1 ~ bedrock run fill ~ ~1 ~ ~ ~1 ~ air destroy
execute as @s[scores={AttackTimer=1..39}] run execute at @s run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy

execute at @s run particle minecraft:crit ~ ~ ~ 0 0 0 0.15 10 force