
scoreboard players add @s AttackTimer 1

#execute as @s[scores={AttackTimer=40}] run function zzzzdonotuse:cadeyrn/attacks/tinyexplode/tinyexplodemove

execute at @s[scores={AttackTimer=1..30}] run particle minecraft:cloud ~ ~ ~ 0.1 0.5 0.1 0.3 10 force
execute at @s[scores={AttackTimer=28}] run summon creeper ~ 256 ~ {Tags:["CadExp"],NoGravity:1,ActiveEffects:[{Id:14b,Amplifier:5b,Duration:3}]}
execute as @s[scores={AttackTimer=30}] run function zzzzdonotuse:cadeyrn/attacks/tinyexplode/explode
execute as @s[scores={AttackTimer=1}] run function zzzzdonotuse:cadeyrn/attacks/tinyexplode/tinyexplodestart
execute at @s[scores={AttackTimer=31}] run kill @e[type=area_effect_cloud,distance=..3]
execute as @s[scores={AttackTimer=32}] run gamerule mobGriefing true
execute as @s[scores={AttackTimer=33}] run data merge entity @s {Invulnerable:0}

execute as @s[scores={AttackTimer=56}] run execute at @s run function zzzzdonotuse:cadeyrn/attacks/tinyexplode/tinyexplodelaunch
execute at @s[scores={AttackTimer=56..70}] run function zzzzdonotuse:cadeyrn/attacks/tinyexplode/destroyblocks


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


#execute at @s[scores={AttackTimer=200}] 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




