How to make when the choice is pressed
::begin::
menu = gg.choice({'On'})
if menu == 1 and menu(1)text is On then
--menu(1) will change text to 'Off'
goto begin
end
if menu == 1 and menu(1)text is off then
--menu(1) will change text to 'On'
goto begin
end