playsound entity.ender_dragon.growl master @a[distance=..80] ~ ~ ~ 1 0.5 0.5
playsound entity.ender_dragon.growl master @a[distance=..80] ~ ~ ~ 1 1 0.5
playsound entity.ender_dragon.growl master @a[distance=..80] ~ ~ ~ 1 1.5 0.5

effect give @a[distance=..20] minecraft:blindness 1 0 true