Jump to content
Sign in to follow this  

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 
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
ra = -1;end;end

function h()
y = "main"
if y == "main" then y ="hh" end

if gg.isVisible(false) then
    gg.sleep(100) end

if gg.isVisible(true)
then gg.setVisible(false) end
  if gg.isVisible() then
    ra = 1
  end if ra == 1 then gh() end


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
Sign in to follow this  

  • Similar Content

    • By Boss45
      Ok so I tried hacking Marvel Future Fight and I found the value of Gems which is
      I tried changing acheivements and rewards with this. It would work visually and whenever I froze the value it gives me warning. Is there anyone else who might have found any vulnerabilities. If so try editing the gem code and please tell where the vulnerability is
    • By AlineePedro
      Is it possible to make any kind of changes that are definitive in the secret homeland of Storm of Wars? Is the game entirely server-side? Should I change what types of values with the game keeper in this game?

    • By ToxicLuaMods23
      Hi , i have this problem with my scripts everytime i make them, i am ussually an offline user who likes GG and i think in still a noob at it 
      my problem is that every script i make it keeps ending i name and call the functions correctly, i make sure to put nil inside and other 
      if there are no coding errors in my script (gg notifys if u do) and it reads scripts top to bottom then what could be my problem?
      --functions function ita() gg.alert('You must have 5 of each item for it to work') gg.searchNumber(5, gg.TYPE_DWORD) gg.getResults(20000) gg.editAll(64, gg.TYPE_DWORD) gg.clearResults() gg.toast('script made by TOXIC MODS') end function flo() gg.searchNumber(40, gg.TYPE_FLOAT) gg.getResults(20000) gg.editAll(950, gg.TYPE_FLOAT) gg.clearResults() gg.toast('Script made by TOXIC MODS') end function spe() gg.toast('GOO FAST') gg.setSpeed(20) end function exi() gg.toast('Bye noob LOL') os.exit() end function abt() gg.alert('Script made by Repl.it learn how to make scripts by joining My discord server') menu=gg.choice({'Items hack','Jump Hack','Speed','Exit',nil,'About script'}) if menu==1 then ita() end if menu==2 then flo() end if menu==3 then spe() end if menu==4 then exi() end if menu==nil then exi() end if menu==6 then abt() end it worked once what happpened twice?, Also it crashes im using parrelel space but i had to hard reset my device the last parrelel i was using was ps light my exit function works well also and there is no anti cheat in the game if i mannually changed the wood into 64 -Tox mods
    • By Fyoury
      So I'm super new to GG I got everything working and all but I have some questions. (I don't have a root)
      So I wanna hack pixel gun 3d like get tons of items from this thing called the gallery how would i narrow it down to the very few variables
      So I can start any game except pixel gun 3d, it seems to just get stuck in the new player loading screen, I'm guessing I just gotta reinstall and not open it without parrel space but just in case any other reason.
      I'm new to this and need to get better and easier apps to learn off
  • Create New...