execute as @s store result score @s KyuTime run time query daytime
execute as @s[tag=!IsNightKyu] run execute if entity @s[scores={KyuTime=12450..18599}] run function zzzzdonotuse:daytimer/nightstuff

execute as @s[tag=!IsDayKyu] run execute if entity @s[scores={KyuTime=5..10000}] run data merge block 999976 122 999979 {auto:1b}
execute as @s[tag=!IsDayKyu] run execute if entity @s[scores={KyuTime=22300..25000}] run data merge block 999976 122 999979 {auto:1b}


#lantern event
execute as @s[tag=LanternEventDay] run execute if entity @s[scores={KyuTime=11500..15000}] run function zzzzdonotuse:randomevent/lanterns/lanterneventnightstart




#execute as @s[tag=!IsNightKyu] run execute if predicate suhc:nightstart run function zzzzdonotuse:daytimer/nightstuff