Jump to content

I need some help about gg.multiChoice


Recommended Posts

Posted

So i made a script with the gg.multiChoice and i tried it then it just exit itself and its not performing the cheat here's the example script i made 

 

gg.toast('random shnite')

print('random shnite') 

--Game guardian detection

if gg.BUILD < 5511 then 

print('You need latest version of GameGuardian to run this script. Minimum GG v.8.30.0.') 

goto update

end

if gg.isVisible(true) then 

   gg.setVisible(false) 

   end 

   

   gg.alert('Im not responsible for any ban only use it at your own risk', 'I Agree', ' ', 'https://youtube/blablabla')

gg.toast("Select which do you like :]")

 

   

   

   

gg.clearResults()

goto START

::START::

 

 

 

menu = gg.multiChoice({'Car, footsteps','less gravity','Walk Through Walls','EXIT'},nil,'Safe cheats but sometimes you might get ban')

 

if menu == 1 then goto Footstep end      

if menu == 2 then goto lwrcl end

if menu == nil then gg.toast("Goodluck") end

goto noselect

 

::Footstep1::
gg.clear results()
gg.clearResults()

::lwrcl::
gg.clearResults()

gg.clearResults()

::noselect::
print('just open me again if needed')

 

what am i doing wrong with the gg.multiChoice did i miss something?

  • Administrators
Posted
4 minutes ago, LeWLGr said:

if menu == 1 then goto Footstep end      

if menu == 2 then goto lwrcl end

You need read help about gg.multiChoice and it return value.

And use button 'code' for code.

Posted
15 minutes ago, Enyby said:

You need read help about gg.multiChoice and it return value.

And use button 'code' for code.

What do u mean by 'code' for code thanks btw ❤️

_______________________________________________
added 1 minute later
2 minutes ago, Enyby said:

Thank you so much 

  • Administrators
Posted

It is text:

local t = gg.multiChoice({'A', 'B', 'C', 'D'})
if t == nil then
    gg.alert('Canceled')

It is code:

local t = gg.multiChoice({'A', 'B', 'C', 'D'})
if t == nil then 
	gg.alert('Canceled')

Insert by button 'code' on the editor panel.

 

scr_1530440126.jpg

  • 3 weeks later...
Posted
On 7/1/2018 at 6:16 PM, Enyby said:

It is text:

local t = gg.multiChoice({'A', 'B', 'C', 'D'})
if t == nil then
    gg.alert('Canceled')

It is code:


local t = gg.multiChoice({'A', 'B', 'C', 'D'})
if t == nil then 
	gg.alert('Canceled')

Insert by button 'code' on the editor panel.

 

scr_1530440126.jpg

hello bro... can help me... tell me, how me inpun code script in type multichoice

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.