scoreboard players add @s bull 1
tag @a remove noef
execute at @s[tag=!noef] run tag @a[tag=!noef,distance=..2] add noef
execute at @s[tag=!noef] run tag @s add noef

execute if entity @p[distance=..1.8] run tag @s add tem
execute at @s[tag=tem,tag=!temd] run execute at @s[tag=poww] run particle soul ~ ~ ~ 1 1 1 0.3 500 force @a
execute at @s[tag=tem,tag=!temd] run execute at @s[tag=poww] run particle soul_fire_flame ~ ~ ~ 1 1 1 0.3 500 force @a
execute at @s[tag=tem,tag=!temd] run playsound entity.dragon_fireball.explode voice @a ~ ~ ~ 3 2
execute at @s[tag=tem,tag=!temd] run playsound minecraft:entity.warden.roar voice @a ^ ^ ^ 3 1.1
execute at @s[tag=tem,tag=!temd] run playsound minecraft:entity.warden.roar voice @a ^ ^ ^ 3 1
execute at @s[tag=tem,tag=!temd] run playsound minecraft:entity.warden.roar voice @a ^ ^ ^ 3 0.9
execute at @s[tag=tem,tag=!temd] run playsound minecraft:entity.warden.roar voice @a ^ ^ ^ 3 0.8
execute at @s[tag=tem,tag=!temd] run playsound minecraft:entity.warden.roar voice @a ^ ^ ^ 3 0.7
execute at @s[tag=tem,tag=!temd] run playsound minecraft:entity.warden.roar voice @a ^ ^ ^ 3 0.6
execute at @s[tag=tem,tag=!temd] run effect clear @a[distance=..15]
execute if entity @p[distance=..1.8] run tag @s add temd

execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=12..15] slowness 1 2 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=8..12] slowness 1 3 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=..8] slowness 1 4 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=..5] slowness 1 5 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=..15] hunger 1 10 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=12..15] nausea 1 2 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=8..12] nausea 1 3 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=..8] nausea 10 4 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=..5] nausea 10 10 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=..12] darkness 1 4 true
execute at @s[tag=!temd] run effect give @a[tag=!noef,distance=..5] wither 1 5 true

execute at @s[scores={bull=10}] run playsound minecraft:entity.elder_guardian.ambient voice @a ~ ~ ~ 0.3 0.7
execute at @s[scores={bull=24}] run playsound minecraft:entity.elder_guardian.ambient voice @a ~ ~ ~ 0.3 1
execute at @s[scores={bull=32}] run playsound minecraft:entity.elder_guardian.ambient voice @a ~ ~ ~ 0.3 0.8
execute at @s[scores={bull=46}] run playsound minecraft:entity.elder_guardian.ambient voice @a ~ ~ ~ 0.3 0.6
execute at @s[scores={bull=54}] run playsound minecraft:entity.elder_guardian.ambient voice @a ~ ~ ~ 0.3 1.2
execute at @s[scores={bull=19}] run playsound minecraft:entity.warden.nearby_close voice @a ^ ^ ^ 10 0.7
execute at @s[scores={bull=39}] run playsound minecraft:entity.warden.nearby_close voice @a ^ ^ ^ 10 0.7
execute at @s[scores={bull=59}] run playsound minecraft:entity.warden.nearby_closest voice @a ^ ^ ^ 10 0.7

particle soul ~ ~1.5 ~ 0.2 0.8 0.2 0.02 1 force @a
particle soul_fire_flame ~ ~1.5 ~ 0.25 0.8 0.25 0.02 1 force @a

scoreboard players reset @s[scores={bull=59..}] bull