Jump to content
  • 0

How do I make gg hide when I click on the icon


GameCrasher

Question

Posted

I used to have the hide script script but I dont have it no more, I tried to recreate it but all I got was

if gg.isVisible(true) then

gg.setVisible(false)

while(true) do

gg.sleep(100)

end

end

When I do this it hides the script but wont reopen, when I add else I need to add an eos but I just put goto menu, how do I fix this?

3 answers to this question

Recommended Posts

Posted
menu = 1

--Code
function MENU()
--OR
::MENU::

while true do
 if gg.isVisible() then
  menu = 1
  end
if menu == 1 then
    MENU()
      --OR
    goto MENU
end

 

Posted
8 hours ago, RezaHaxz said:

menu = 1

--Code
function MENU()
--OR
::MENU::

while true do
 if gg.isVisible() then
  menu = 1
  end
if menu == 1 then
    MENU()
      --OR
    goto MENU
end

 

Thx 

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.