tp @e[type=villager,name=Vill] @p[tag=Griefer]
execute at @e[type=villager,name=Vill] run tp @e[name=Vill] ~ ~-4 ~
scoreboard players add @s[scores={Grief2=1..}] Grief2 1
scoreboard players add @s[scores={Grief=1..}] Grief 1
execute if entity @s[scores={Grief2=9}] run execute as @e[type=zombie,name=Grief] run execute at @s run function zzzzdonotuse:randomevent/grieferzombie10tick
execute if entity @s[scores={Grief=12010..}] run function zzzzdonotuse:randomevent/grieferzombiereset
execute at @a[gamemode=!spectator] run execute if entity @e[type=zombie,name=Grief,distance=..5] run execute in overworld run data merge block 999982 124 999977 {auto:1b}
effect give @e[type=villager,name=Vill] minecraft:invisibility infinite 0 true
execute unless entity @e[name=Grief,type=zombie] run kill @e[type=villager,name=Vill]