Jump to content

Archived

This topic is now archived and is closed to further replies.

LynxzGaming

change choice text

Recommended Posts

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

Share this post


Link to post
Share on other sites

menu = gg.choice({'A', 'B'})

if menu == 1 then
-- A
end

if menu == 2 then
-- B
end 

 

Share this post


Link to post
Share on other sites
menuText = 'On'

::begin::

menu = gg.choice({menuText})

if menu == 1 and menuText == 'On' then
  menuText = 'Off'
  goto begin
elseif menu == 1 and menuText == 'Off' then
  menuText = 'On'
  goto begin
end

 

Share this post


Link to post
Share on other sites

  • Similar Content

    • By Collen
      How do I find the exact entry? Someone help me?

    • By Collen
      Could someone make a script for this game?
      Soccer Star Top League
    • By MrKendom
      View File [🦋] Eɴᴄʀʏᴘᴛ Tᴏᴏʟ • PᴇᴅɪᴀG [ɪɪɪ]
      Hello everyone today i will publish this new encrypt tool by me of course well it's specific compiler which cannot be decrypted by anyone only with editing opcode and also making chars decoded and decoding base64 which can take a long time to decrypt it but don't worry we will make updates weekly to ensure your quality and services
      ⚙️ Informations :
      ✓ Encrypted By (Nika)[TopGEO] @TopGEOYT @TopGEO
      ✓ Need connection internet to get activity and login infos (20kb/s{ ^ or Up})
      ✓ Fixing encoding others string (Algorithm detection of using [[,]] or [=[,]=] )
      ✓ Encryption Premium need In-Script Purchases
      ™ Website ™ : 
      https://mrkendomg.000webhostapp.com/
      = Click on the card to see information about my Encryption if you are satisfied and you wanna buy contact me for keys
      ™ Telegram ™ : @MrKendom
      😉 Enjoy Using Product
       
      Submitter MrKendom Submitted 03/27/2020 Category Tools  
    • By MrKendom
      Hello everyone today i will publish this new encrypt tool by me of course well it's specific compiler which cannot be decrypted by anyone only with editing opcode and also making chars decoded and decoding base64 which can take a long time to decrypt it but don't worry we will make updates weekly to ensure your quality and services
      ⚙️ Informations :
      ✓ Encrypted By (Nika)[TopGEO] @TopGEOYT @TopGEO
      ✓ Need connection internet to get activity and login infos (20kb/s{ ^ or Up})
      ✓ Fixing encoding others string (Algorithm detection of using [[,]] or [=[,]=] )
      ✓ Encryption Premium need In-Script Purchases
      ™ Website ™ : 
      https://mrkendomg.000webhostapp.com/
      = Click on the card to see information about my Encryption if you are satisfied and you wanna buy contact me for keys
      ™ Telegram ™ : @MrKendom
      😉 Enjoy Using Product
       
    • By ATP-RAY2OP
      View File UNLOCK ALL SKINS FREE IN MOBILE LEGENDS NEW VIP SCRIPT BY ATP-RAY2OP
      HELLO GUYZ, THIS IS NEW VIP MLBB SCRIPT, WITH THIS SCRIPT UNLOCK ANY SKIN, OF ANY HERO 
      WORK IN RANK, CLASSIC, CUSTOM
       
        VIDEO TUTORIAL
       
       
      SUBSCRIBE TO CHANNEL ATP-RAY2OP FOR LATEST SCRIPT
      https://www.youtube.com/channel/UC0vglNiRwQLRmLScYwylqg
       
      Submitter ATP-RAY2OP Submitted 03/27/2020 Category LUA scripts  
×
×
  • Create New...