Categories > Coding > Lua >
How to make an Android Script which will work with ROBLOX.
Posted
NOTE: this isnt only for roblox but the android app must have arm not x86 only, (emulators will work)
----------------UI LIB------------------
ITS STILL lua
So GG relys on gg.Choices for the UI LIB which is specified like this gg.Choices or if you want to select multiple Cheats gg.multiChoices
the functions are seperated by ',' and it will be counted as 1 for example:
ex=gg.Choice({'Function 1',' Function 2'})
if ex == 1 then func1() end
if ex == 2 then func2() end
end
in where which func one has print("helloworld")
and func2 closes the UI (os.exit)
if we choose Function1 then it will be determined as func1 and if we choose function 2 then it will be determined as func2
----------------Finding the Values(addys)--------------------
GG Lua wont work as traditionall roblox lua thats logicall. you cant just throw like saveinstance() and think that it'll do it
So how do we make the cheat work? GG is a Memory editing tool just as Cheat Engine - So we can just make it in LUA, but how do we find the exact values?
We first decompile the .APK of roblox then we dump the il2cpp for your architecture.
after we dumped we get the DLLs (before it was compiled into a il2cpp.so)
and throw them in Dnspy or if you are Using IDA dont do that dumping step just throw il2cpp in IDA
and we look for the offsets or addys and transfer them into the right memory range (DWORD, Float, Qword, XOR, Wword, UTF-8, UTF-16 etc.)
Notice : i wont spoonfeed you into how to do that since i dont want skids on the GG part of Roblox.
after we found the right value and we make sure it works
we make it in lua by doing a search, just like this :
gg.searchNumber((value) , gg.(range), (true/false) -- if the value/addy is encrypted, in most of the cases it isnt))
gg.getResults({the number of results you got, not important sometimes, but sometimes it is cause it may crash if there are 2 many results to edit (talking about ROBLOX, not GG) )
gg.editValues({to the value you want}, gg.(range))
gg.clearResults({if we let dont clear the values/addys from GG and they remain the next time you search in a script GG will get confused and the script will crash})
example : gg.searchNumber(69, gg.TYPE_FLOAT)
gg.getResults(420)
gg.editAll(360, gg.TYPE_FLOAT)
gg.clearResults()
------------Making a script--------------
STARSTARSTART=1--this part is important to start the UI
function START()
ex=gg.Choice({'Function 1',' Function 2'})
if ex == 1 then func1() end
if ex == 2 then func2() end
end
function func1()
gg.alert("Im function 1!")
end
function func2()
gg.alert("im Function 2!")
end
while(true)--important part of the UI LIB too
do
if gg.isVisible(true) then
STARTDM=1
gg.setVisible(false)
end
if STARTDM==1 then START() end
end
there are way more UI Libs but i reccomend the one above (i contributed it it haha)
cause when you are making an script and its big and ur using a certain UI LIB you dont want to end up like this : https://cdn.discordapp.com/attachments/370257923563323392/787467910302007316/unknown.png
https://cdn.discordapp.com/attachments/370257923563323392/787467993645842452/unknown.png
https://cdn.discordapp.com/attachments/370257923563323392/787468275680280576/unknown.png
Now your're set for the basic stuff visit the GG docs for more advanced stuff!
(yes i was bored and decided to make this thread)
Added
@_realnickkwell yeah, but i cant change it anymore and it still teaches newbies how to use it
Cancel
Post
banan
Replied
Im confused
Cancel
Post
Replied
Bruh, can you call functions from address with GG lua? If so you're better off making an exploit with it lmao, but you wouldn't be able to handle things from above level unless you recreated them in lua :lmao3d:
Cancel
Post
Replied
@63907You cant, the only thing you can "inject" is libs (il2cpp.so etc)
Cancel
Post
banan
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post