Jump to content
Sign in to follow this  
Granger

How to run background

Recommended Posts

enyby How to run gg in background like u hide it and if u click it, it will show again the script?

Share this post


Link to post
Share on other sites

This what Will i put in my script ?

 

function doAction()

local ret = gg.alert('Here some action', 'OK', 'Cancel', 'Exit')

 

if ret == 3 then os.exit()

end -- exit from the script

end

gg.setVisible(false) while true do if

gg.isVisible() then gg.setVisible(false)

doAction() end

gg.sleep(100)

end

 

Share this post


Link to post
Share on other sites

Try executing this code from a separate file. Look what will happen.
Check out the code. Draw conclusions.

[added 0 minutes later]

You can also see ready-made templates in the download section. Maybe they will be more understandable to you.
I did not see what is there, but this is a typical question. It should be there.

Share this post


Link to post
Share on other sites

Hmm What  i mean is i can still play even if the script is open without ending the script and when i click the icon it will appear

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By Fallen_Stress
      Hello this message is objectively addressed to the staff, Moderators, Administrators etc but I would also like to know what others think, Enyby recently added the detection of android SDK, so I also thought if it was possible to detect the identity (DEVICE ID) of the phone accessing my script, the photo above is just an imagination how it could work that would be great if in future versions of game Guardian you could add that.

    • By DarkTequila
      How to save variable gg.choice like revo encryption ?

    • By Ready7Die
      Hi, I want to cheat in pubg mobile but when I open with parallel space the game closes and closes a little later each time I open Do you have a cloning program for pubg mobile?
      Note: I use the phone for Huawei P Smart 2018
    • By MrAnown
      Enjoy With New Script V.7.2 Rules Of Survival Aimlock 100% Add Some One Hit. Improve Script Menu & Etc. Subscribe WOLVE LEGACY Channel For More Safe Hacks (Rules Of Survival) Thanks
    • By MrAnown
      View File WorldWide ROS Script V. 7.2 By WOLVE LEGACY Channel
      Enjoy With New Script V.7.2 Rules Of Survival Aimlock 100% Add Some One Hit. Improve Script Menu & Etc. Subscribe WOLVE LEGACY Channel For More Safe Hacks (Rules Of Survival) Thanks
      Submitter MrAnown Submitted 09/20/2019 Category Rules of Survival  
×
×
  • Create New...