execute unless score .buttonEnabled temp matches 0..1 run scoreboard players set .buttonEnabled temp 1
execute if score .buttonEnabled temp matches 0 run return run function subchronos:lobby/start_button/disabled
## -- Solo se ejecuta si se puede pulsar el boton -- ##
scoreboard players add .startButtonStatus option 1
execute if score .startButtonStatus option matches 2.. run scoreboard players set .startButtonStatus option 0

schedule clear subchronos:lobby/start_button/model/k/press/check_pause_0
schedule clear subchronos:lobby/start_button/model/k/press/check_pause_1
schedule clear subchronos:lobby/start_button/model/k/press/check_pause_2
schedule clear subchronos:lobby/start_button/model/k/press/check_pause_3
schedule clear subchronos:lobby/start_button/model/k/press/check_pause_4
schedule clear subchronos:lobby/start_button/model/k/press/check_pause_5
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_0
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_1
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_2
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_3
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_4
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_5
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_6
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_7
schedule clear subchronos:lobby/start_button/model/k/unpress/check_pause_8

execute if score .startButtonStatus option matches 1 run function subchronos:lobby/start_button/press
execute if score .startButtonStatus option matches 0 run function subchronos:lobby/start_button/unpress