Jump to content
Enyby

LUA scripting

Recommended Posts

6 hours ago, MrDeadpool said:

How do i make my script search a encrypted value, im just doing a simple script...

gg.searchNumber(100, gg.TYPE_DWORD)

gg.getResults(5000000)

gg.editAll(-99999999, gg.TYPE_DWORD)

gg.clearResults()

Contact me on discordhttps://discord.gg/bhW8tba

 

Share this post


Link to post
Share on other sites

7 hours ago, MrDeadpool said:

How do i make my script search a encrypted value, im just doing a simple script...

gg.searchNumber(100, gg.TYPE_DWORD)

gg.getResults(5000000)

gg.editAll(-99999999, gg.TYPE_DWORD)

gg.clearResults()

 

here you go encrypted search but why edit 50 mill results lol

gg.searchNumber(100, gg.TYPE_DWORD, true)

gg.getResults(5000000)

gg.editAll(-99999999, gg.TYPE_DWORD)

gg.clearResults()

 

Share this post


Link to post
Share on other sites

5 million not 50 million, its just for a test on a roblox game

Share this post


Link to post
Share on other sites

 

4 hours ago, MrDeadpool said:

5 million not 50 million, its just for a test on a roblox game

It is 5 million

Share this post


Link to post
Share on other sites

what script hack game ??? 

Share this post


Link to post
Share on other sites

anyone know how to correct this script?

i keep getting error on choice number 2...

the function is to search a number when press Search, then refine search and freeze the first 4 address to 10. after done unfreeze and clear the list.

function doAction()
    local menu = gg.choice({'Search','Change','Clear','exit'})
    if menu==1 then 
        gg.clearResults()
        gg.searchNumber('1.23',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1) end
    if menu==2 then
        gg.refineNumber('4.56',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
        local t = gg.getResults(4)
        t[1].value = '10'
        t[1].freeze = true
        t[1].freezeType = FREEZE_NORMAL
        t[2].value = '10'
        t[2].freeze = true
        t[2].freezeType = FREEZE_NORMAL
        t[3].value = '10'
        t[3].freeze = true
        t[3].freezeType = FREEZE_NORMAL
        t[4].value = '10'
        t[4].freeze = true
        t[4].freezeType = FREEZE_NORMAL
        gg.addListItems(t) end
    if menu==3 then
        local r = gg.getListItems()
        r[1].freeze = false
        r[2].freeze = false
        r[3].freeze = false
        r[4].freeze = false
        gg.clearList()
        end
    if menu==4 then os.exit() end
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
Posted (edited)

Hello...

Which function to call the red boxes? gg.saveList didn't did the job for me

I want to save the selected address to a file and reloading it later via script. Just like i did it manual on GG

gghelp.png

Edited by Hun2Memory

Share this post


Link to post
Share on other sites
19 minutes ago, Hun2Memory said:

Hello...

Which function to call the red boxes? gg.saveList didn't did the job for me

I want to save the selected address to a file and reloading it later via script. Just like i did it manual on GG

gghelp.png

use loops

Share this post


Link to post
Share on other sites
1 minute ago, AjYouTube said:

use loops

can u give me an example?

Share this post


Link to post
Share on other sites
1 hour ago, Hun2Memory said:

Which function to call the red boxes?

addListItems

Share this post


Link to post
Share on other sites
Posted (edited)
13 hours ago, Enyby said:

addListItems

thank you

do you know a good way to loop the address?

cause i can't get the size of gg.getListItems

EDIT: nvm i found a way

gg.loadList('/sdcard/gg2.txt')
local r = gg.getListItems()
for i, lul in ipairs(r) do
	gg.toast(lul.address)
end

but idk if this nice enough, thank you again

Edited by Hun2Memory

Share this post


Link to post
Share on other sites

Try google about lua loops and lua table length. It is not a hard.

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

×
×
  • Create New...