tag @e[name=DayQ,tag=!NoSpecBlind] add NoSpecBlindTag
tag @e[name=DayQ,tag=NoSpecBlind] add YesSpecBlindTag
tag @e[name=DayQ,tag=NoSpecBlind,tag=YesSpecBlindTag] remove NoSpecBlind
tag @e[name=DayQ,tag=!NoSpecBlind,tag=NoSpecBlindTag] add NoSpecBlind
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=!NoSpecBlind] run tellraw @s ["",{"text":"Spectator Blindness is now ","color":"yellow"},{"text":"ON. Spectators will be blinded unless they are spectating another player in first person.","color":"red"}]
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=!NoSpecBlind] run execute in overworld run data merge block 999979 180 999975 {Command:"execute if entity @a[tag=DeadKyu,gamemode=spectator] run function zzzzdonotuse:misc/spectatortp"}
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=NoSpecBlind] run tellraw @s ["",{"text":"Spectator Blindness is now ","color":"yellow"},{"text":"OFF. Spectators will no longer be blinded.","color":"green"}]
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=NoSpecBlind] run execute in overworld run data merge block 999979 180 999975 {Command:"execute if entity @a[tag=DeadKyu,gamemode=spectator] run function zzzzdonotuse:misc/spectatortpnoblind"}
tag @e[name=DayQ] remove YesSpecBlindTag
tag @e[name=DayQ] remove NoSpecBlindTag