effect give @a[distance=..16] slowness 1 0
effect give @a[distance=..16] mining_fatigue 1 3
execute if score @s EB_next_sound matches ..30 run playsound custom.mandragora.scream hostile @a ~ ~ ~
execute if score @s EB_next_sound matches ..30 run scoreboard players set @s EB_next_sound 670
