scoreboard players add time_set option 1
execute if score time_set option matches 2.. run scoreboard players set time_set option 0

execute at @s if score time_set option matches 0 run function subchronos:lobby/options/time_set/off
execute at @s if score time_set option matches 1 run function subchronos:lobby/options/time_set/on