Jump to content

Keep control of GG Script.


AylinCE

Recommended Posts

Create a "Version Query" that will leave a message and notify the user in case a script code is out of date or if you release a new version.

If the version is up to date, there is no problem. If it is an old version, the script will not open (menu will not load) and will tell the user that there is a new version.

What is needed:
.) Google Docs
.) Internet

Warning: First of all, the script always tries to be protected with a unique encryption. This test can be skipped if the script is decoded or edited.
Whereas; There is no encryption that cannot be cracked, and use as strong encryption as you can.

Here is a sample code:
Note: If you have a google account, create a doc for the script, set the share to "Anyone with the link can view" and publish it.
Copy your link and replace the part shown in the code.

Your vers link:

"https://docs.google.com/document/d/1-K-SBnDxM9aKR_or7jfBbPAEScojgoaYF_-rIHFqx6c/edit"

Script sample link:

gg.makeRequest('https://docs.google.com/document/d/1-K-SBnDxM9aKR_or7jfBbPAEScojgoaYF_-rIHFqx6c/export?format=txt').content

 

-----------------------------------------------------------

--#############################################--
--############# Creator ByAylinCE #############--
--#############################################--

function main() 
Menu = gg.choice({"💎 ➤ Hack 1","💸 ➤ Hack 2","💳 ➤ Hack 3","⛔ ➤ EXIT"}, nil) 

if Menu == 1 then F1() end 
if Menu == 2 then F2() end 
if Menu == 3 then F3() end 
if Menu == 4 then Exit() end 
end 

--------------- Version  Check  -----
local vercheck = 1

function VersCheck()
local aa = 'GET 2: ' .. gg.makeRequest('https://docs.google.com/document/d/1-K-SBnDxM9aKR_or7jfBbPAEScojgoaYF_-rIHFqx6c/export?format=txt').content 

aa2 = { aa }
aa3 = aa2[1]
aa4=string.sub(aa3, -8, -1)
--gg.toast("aa: "..aa4)
gg.sleep(3000)
if aa4==nil then
gg.toast("aa: "..aa4)
else

 if aa4==tostring(22334401) then 
gg.toast("Version Success!") 
vercheck = 2
main()
gg.sleep(3000)
else 
gg.toast("aa: "..aa4)
vercheck = 1
gg.toast("Opps! This cheat is turned off!\nPlease contact the admin.") 
gg.sleep(3000)
os.exit()
end 
end
end

function Exit() 
gg.toast("Bye...") 
os.exit() 
end 

------------- Hack Codes -----
function F1()

end

function F2()

end

function F3()

end

----------------- 
if vercheck == 1 then
VersCheck()
end

if vercheck == 2 then
while(true) do 

  while gg.isVisible(true) do 
      gg.setVisible(false) 
     
      main() 
     end
    end 
end 

For your questions, comments and suggestions, do not hesitate to comment.
(If this topic helped you, you can leave a reputation.)

good games..

myHackVersion1.lua

Link to comment
Share on other sites

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.