0% encontró este documento útil (0 votos)
58 vistas1 página

Script de Menú Interactivo

Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como TXT, PDF, TXT o lee en línea desde Scribd
0% encontró este documento útil (0 votos)
58 vistas1 página

Script de Menú Interactivo

Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como TXT, PDF, TXT o lee en línea desde Scribd

activa = 1

function MENU()
local tienda= gg.choice({'Escribe aqui','Escribe aqui','Escribe aqui','Escribe
aqui','Escribe aqui','Escribe aqui','Escribe aqui','Escribe aqui','Escribe
aqui','✘cerrar scrip ✘',},nil,' Escribe aqui el titulo del scripts')

gg.processResume()
if tienda == 1 then a1() end
if tienda == 2 then a2() end
if tienda == 3 then a3() end
if tienda == 4 then a4() end
if tienda == 5 then a5() end
if tienda == 6 then a6() end
if tienda == 7 then a7() end
if tienda == 8 then a8() end
if tienda == 9 then a9() end
if tienda == 10 then SALIR() end
if tienda == nil then else end
gg.processResume()
activa = -1
end

function SALIR()
gg.setVisible(true)
gg.alert('Cerrando Script')
os.exit
end

while true do
if gg.isVisible(true) then
activa = 1
gg.setVisible(false)
gg.toast('Escribe aqui')
end

if activa == 1 then MENU() end


end

También podría gustarte