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 RONO_PLAYS
      View File HOW TO MAKE A LUA SCRIPT FOR ANY GAME
       More scripts from the creator
      This is a  template that will help you create a script menu for any game
      Download the apps used in this video:
      lua editor
      GG tester
       
      WATCH THESE VIDEOS TO KNOW HOW TO MAKE A LUA SCRIPT FOR ANY GAME
      PART 1
      WATCH THIS VIDEO TO KNOW HOW TO MAKE A LUA SCRIPT FOR ANY GAME
       
      PART 2:
       
       
      PART 3
       
      Submitter RONO_PLAYS Submitted 04/27/2019 Category Templates  
    • By RONO_PLAYS
      More scripts from the creator
      This is a  template that will help you create a script menu for any game
      Download the apps used in this video:
      lua editor
      GG tester
       
      WATCH THESE VIDEOS TO KNOW HOW TO MAKE A LUA SCRIPT FOR ANY GAME
      PART 1
      WATCH THIS VIDEO TO KNOW HOW TO MAKE A LUA SCRIPT FOR ANY GAME
       
      PART 2:
       
       
      PART 3
       
    • By Slushballll
      So I've been trying to learn lua I just started today and I want some tips from you pro lua coders. If can send me some tutorial links or a good wiki link that would be great
    • By Cosmic-_-Breeze
      Hello, im in need of help anytime i do a fuzzy search i get left with a couple thousand results but if i do increase, decrease, changed or unchanged the results number either stays the same or goes up. 🤷‍♀️ im no expert i only know the basics/fundamentals of finding a value so sorry if this question is stupid 🙂
      Also i am aware there is a topic already showing you how to hack this game but its now outdated the encryption is different now. and i want to try to learn how to use the fuzzy search tool sense the OP said he used it to find the value
      [some information that might help]
      Device - Razer Phone 2             RAM - 8GB
      (No root)                                     Virtual Space - Octopus
      Android version - 9                     GG version - 76.0
      Game - Caves (Roguelike)         Version - 0.94.9.97
    • By Materialisimo
      I'm total zero in GG, and I'm asking someone's help in this game, i need to hack the values of heroes, gems etc.
×
×
  • Create New...