scoreboard players set @e[type=armor_stand,name=DayQ,scores={Grief2=1..20}] Grief2 1
effect give @e[type=villager,name=Vill] minecraft:invisibility
playsound entity.zombie.ambient hostile @a[distance=..15] ~ ~ ~ 1 1 1
fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air replace barrier
fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 barrier replace air
execute at @e[type=villager,name=Vill] positioned ~-10 ~1 ~-10 run execute at @e[dx=10,dy=100,dz=10,type=zombie,name=Grief] run fill ~ ~-2 ~ ~ ~-1 ~ air
execute at @s[y_rotation=125..-125] run fill ~ ~ ~-2 ~ ~1 ~-1 air
execute at @s[y_rotation=-145..35] run fill ~2 ~ ~ ~1 ~1 ~ air
execute at @s[y_rotation=-55..55] run fill ~ ~ ~2 ~ ~1 ~1 air
execute at @s[y_rotation=35..145] run fill ~-2 ~ ~ ~-1 ~1 ~ air
execute at @s run fill ~-2 ~-2 ~-2 ~2 ~2 ~2 stone replace water
execute at @s run fill ~-2 ~-2 ~-2 ~2 ~2 ~2 stone replace water
execute at @e[type=villager,name=Vill] positioned ~5 ~3 ~5 run execute as @e[dy=-110,dx=-10,dz=-10,type=zombie,name=Grief] run function zzzzdonotuse:randomevent/grieferzombiecheckbelow
execute at @s run tp @s ~ ~.1 ~
