execute facing ~.2 ~3 ~4 run function attacks:slime_bounce/summon
execute facing ~3 ~3 ~-3 run function attacks:slime_bounce/summon
execute facing ~-.5 ~3 ~-.5 run function attacks:slime_bounce/summon
execute facing ~3 ~3 ~.4 run function attacks:slime_bounce/summon
execute facing ~-5 ~3 ~.4 run function attacks:slime_bounce/summon

execute positioned ~ ~ ~-.5 facing ~-2 ~1 ~-2 run function attacks:slime_bounce/summon
execute positioned ~.5 ~ ~.5 facing ~2 ~ ~.5 run function attacks:slime_bounce/summon
execute positioned ~-.5 ~ ~1 facing ~-1 ~ ~2 run function attacks:slime_bounce/summon

playsound custom.spit hostile @a ~ ~ ~

tag @s remove attacking
tag @s remove slime_bounce
tag @s remove jumping
