execute as @s[scores={CrackAttackTimer=1}] run function zzzzdonotuse:cadeyrn/attacks/groundcrack/groundcrackstart

execute at @s positioned ~1 ~3 ~ run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~ ~3 ~1 run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~-1 ~3 ~ run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~ ~3 ~-1 run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~1 ~3 ~1 run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~-1 ~3 ~-1 run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~-1 ~3 ~1 run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~1 ~3 ~-1 run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s positioned ~ ~3 ~ run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute as @s run execute at @s run execute positioned ~ 147 ~ run scoreboard players set @s[dy=3] CrackAttackTimer 25
execute as @s[scores={CrackAttackTimer=25}] run effect clear @s levitation

execute at @s[scores={CrackAttackTimer=1..25}] run particle minecraft:crit ~ ~1 ~ 0 0.3 0 0.05 10 force
execute at @s[scores={CrackAttackTimer=25}] run item replace entity @s weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:3s},{id:"minecraft:punch",lvl:1s},{id:"minecraft:flame",lvl:2s}]}
execute at @s[scores={CrackAttackTimer=25}] run tellraw @a[distance=..150] ["",{"text":"[","color":"dark_blue"},{"text":"Cadeyrn the Wretched","color":"gold"},{"text":"] ","color":"dark_blue"},{"text":"Burn in the blood of Vortigryn!","color":"dark_red","italic":"true"}]






