execute at @a[tag=DoVoid,tag=!DoVoidPlus] run summon armor_stand ~ ~ ~ {Invulnerable:1,Invisible:1b,Silent:1b,NoGravity:1,Tags:["VoidTPStuff"]}
execute at @a[tag=DoVoid,tag=!DoVoidPlus] run tp @e[type=armor_stand,distance=..2,limit=1,sort=nearest] ~ ~ ~ ~ ~
scoreboard players add @a[tag=DoVoid] KyuVoid 1
execute as @a[tag=DoVoid,tag=!DoVoidPlus] run scoreboard players add @e[type=armor_stand,name=DayQ,limit=1] KyuVoidCheck 1
tag @a[tag=DoVoid] add DoVoidPlus
effect give @a[tag=DoVoid] resistance 5 4
#effect clear @a[tag=DoVoid,tag=!] wither
effect clear @a[tag=DoVoid] poison
execute as @a[tag=DoVoid] run execute at @s positioned ~ ~5000 ~ run tp @s @e[type=armor_stand,tag=VoidTPStuff,sort=nearest,limit=1]
execute as @a[tag=DoVoid] run execute at @s run tp @s ~ ~-5000 ~
execute as @a[scores={KyuVoid=0..},tag=DoVoid,tag=!VoidReviving] run function zzzzdonotuse:misc/voiddamage2
execute as @a[tag=VoidReviving,scores={health=..5}] run function zzzzdonotuse:misc/voiddamage2
execute unless entity @e[type=armor_stand,name=DayQ,scores={KyuVoidCheck=1..}] run data merge block ~ ~ ~ {auto:0b}