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

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