tag @e[name=DayQ,tag=!NoBurrow] add NoBurrowTag
tag @e[name=DayQ,tag=NoBurrow] add YesBurrowTag
tag @e[name=DayQ,tag=NoBurrow,tag=YesBurrowTag] remove NoBurrow
tag @e[name=DayQ,tag=!NoBurrow,tag=NoBurrowTag] add NoBurrow
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=!NoBurrow] run tellraw @s ["",{"text":"Sinkholes are now ","color":"yellow"},{"text":"ON. Watch your step.","color":"red"}]
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=NoBurrow] run tellraw @s ["",{"text":"Sinkholes are now ","color":"yellow"},{"text":"OFF.","color":"green"}]
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=NoBurrow] run kill @e[type=armor_stand,name=BUQ]
execute as @s if entity @e[name=DayQ,type=armor_stand,tag=NoBurrow] run kill @e[type=armor_stand,name=BUQ2]
tag @e[name=DayQ] remove YesBurrowTag
tag @e[name=DayQ] remove NoBurrowTag