Jump to content
YeetMeister

GG Logo as ON/OFF Switch

Recommended Posts

[Pls Help]
Use the gg logo as toggle on off switch

First launch of script gets the value and puts the script to the background

And when the logo is pressed it activates/deactivates the hack

Share this post


Link to post
Share on other sites

if ch==nil then ch=-1 end
function gh()
if gg.isVisible(true) then 
   gg.setVisible(false)
end
if ch==-1 then
g = gg.choice({'Auto On/Off','Exit'})
if g == 1 then gg.alert('Press Square Box To Exit the script') h()ch=1;ra=-1;end
if g == 2 then os.exit()end
else
h()
ra = -1;end;end

function h()
y = "main"
if y == "main" then y ="hh" end
gg.toast('On')

while(true)
do
if gg.isVisible(false) then
break
  else
    gg.sleep(100) end
end

gg.toast('Off')
if gg.isVisible(true)
then gg.setVisible(false) end
end
while(true)
do
  if gg.isVisible() then
    ra = 1
  end if ra == 1 then gh() end
end

Your'welcome

Edited by MilkyGT

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

  • Similar Content

    • By AmsSam
      Hello I'm pretty here and my question it is if it's anyone that can help me with this game :
      https://play.google.com/store/apps/details?id=com.addictive.strategy.army
      So for what do I need help ? Well for diamonds I don't know and understand how to change them the coins was pretty easy but the diamonds I really don't know. Hope someone will help me. Thanks alot.
    • By Tatou
      Help me dude! How to make this switch button :).

    • By Ra12345
      I want to know what gg.setValues() do in a script.I viewed the help but I didn't understand anything
    • By Deadlox03
      Name of Game:Dragon City
      Play Store Link (If it's a paid app, the apk):https://play.google.com/store/apps/details?id=es.socialpoint.DragonCity&hl=en&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Ddragon+city&pcampaignid=APPU_1_LVd9XqLoILaWr7wPvaOvkAg
      Version: 9.13.1
      What cheat? Health, xp, gold...:food, Gold, Gems
      Have you tried cheating this game? What happened?:
      Comments: hello.. can someone help me hack this game i just want to hack the foods and gold. Or give me tutorial how to hack this? Thanks in advance

    • By Ra12345
      I am not understanding why freeze is not working in the code listed below.Any help is appreciated
      gg.searchAddress('7F4?????34',0xFFFFFFFFFF,gg.TYPE_FLOAT) gg.getResults(999999) gg.refineNumber('1.0~100.0',gg.TYPE_FLOAT) Res=gg.getResults(999999) gg.editAll('999999.9',gg.TYPE_FLOAT) for i, v in ipairs(Res) do v.freeze=true end end  
×
×
  • Create New...