Jump to content
  • 0

Help about gg.isVisible


g1doz

Question

For example, I want when a player enters the Hack1 menu and finds a list of things, for example, pressure outside the frame gg ui and then again hit the icon gg, Here I want to be in the same list that came out last time and do not want to go back to the list of basic how that

Example code to edit:

function home()
menu = gg.choice({"GG version","GG Build Number","Exist"})
if menu==1 then gv()end
if menu==2 then gb()end
if menu==3 then gg.clearList() os.exit()end
end

function gv()
gg.alert("GG version: "..gg.VERSION)
end

function gb()
gg.alert("GG build number: "..gg.BUILD)
end

gg.setVisible(true)
while true do
    if gg.isVisible() then
        gg.setVisible(false)
        home()
    end
end

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

I want when I enter a new list within the script and for example activate hack Or click outside the frame ui script will hide ui script and will click gg icon You will return to the main menu, not the list you were last in 

for example i run script and show me 3 menu a b c and i click in menu a and in menu i activate any hack or click outside the frame now ui script will hide and i click again in the gg icon I want at this moment to gg open automatically in menu a and Not to turn me back to the home list

Link to comment
Share on other sites

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.