execute if score @s EB_next_attack matches -10 run playsound custom.spit.prepare hostile @a ~ ~ ~ 1 .7
execute if score @s EB_next_attack matches -20 run playsound custom.spit.prepare hostile @a ~ ~ ~ 1 .7

execute if score @s EB_next_attack matches -20..0 run particle block slime_block ~ ~1.5 ~ 0.1 0 0.1 0 4 force

execute if score @s EB_next_attack matches ..-20 run function bosses:frog_king/spit_spin/attack
