scoreboard players add @e[type=armor_stand,name=DayQ] ReviveTimer 1
execute if entity @e[type=armor_stand,name=DayQ,scores={ReviveTimer=1200..}] run function zzzzdonotuse:misc/revive/reset
#execute if entity @a[tag=KyuReviver,scores={KyuRevive=1}] run execute as @a[tag=KyuReviver,scores={KyuRevive=1}] run scoreboard players set @s KyuRevive 11
execute if entity @a[tag=KyuRevivingT1,scores={KyuRevive=2}] run data merge block ~ ~ ~ {auto:0b}
execute if entity @a[tag=KyuRevivingT2,scores={KyuRevive=4}] run data merge block ~ ~ ~ {auto:0b}
execute if entity @a[tag=KyuRevivingT3,scores={KyuRevive=6}] run data merge block ~ ~ ~ {auto:0b}
execute if entity @a[tag=KyuRevivingT1,scores={KyuRevive=2}] run execute as @a[tag=KyuReviver,scores={KyuRevive=1}] run execute at @s run execute if entity @a[tag=KyuRevivingT1,scores={KyuRevive=2},distance=..20] run function zzzzdonotuse:misc/revive/playerrevivet1part4
execute if entity @a[tag=KyuRevivingT2,scores={KyuRevive=4}] run execute as @a[tag=KyuReviver,scores={KyuRevive=3}] run execute at @s run execute if entity @a[tag=KyuRevivingT2,scores={KyuRevive=4},distance=..20] run function zzzzdonotuse:misc/revive/playerrevivet1part4
execute if entity @a[tag=KyuRevivingT3,scores={KyuRevive=6}] run execute as @a[tag=KyuReviver,scores={KyuRevive=5}] run execute at @s run execute if entity @a[tag=KyuRevivingT3,scores={KyuRevive=6},distance=..20] run function zzzzdonotuse:misc/revive/playerrevivet1part4

execute if entity @a[tag=KyuRevivingT1,scores={KyuRevive=2}] run function zzzzdonotuse:misc/revive/reset
execute if entity @a[tag=KyuRevivingT1,scores={KyuRevive=4}] run function zzzzdonotuse:misc/revive/reset
execute if entity @a[tag=KyuRevivingT1,scores={KyuRevive=6}] run function zzzzdonotuse:misc/revive/reset