scoreboard players add @s NightQ 1
execute if entity @s[scores={NightQ=7000..}] run time set 14000
execute if entity @s[scores={NightQ=7000..}] run data merge block ~ ~ ~ {auto:0b}
execute if entity @s[scores={NightQ=7000..}] run tag @e[name=DayQ] remove EternalNightKyu
execute if entity @s[scores={NightQ=7000..}] run scoreboard players set @s NightQ 0