Jump to content

How to create a simple gg script!


ToxicLuaMods23

Recommended Posts

Hey guys  this is my tutorial on creating a awesome mod menu without the hassle and the errors 

so first off lets say im hacking the pixel walking zombie 3 vip (make sure u have ur game values)

i reccomend file explorer , QuickEdit+, Quoda (the one with no ads), code editor also!

open your editor and set the Syntax to Lua of course then

--functions
function start() --call function anf give it a task 
  gg.setVisible(false) --make gg dissapear
  gg.searchNumber(100, gg.TYPE_DWORD) --search for 100's and in only dword
  gg.getResults(1000) -- how much 99999999's u want
  gg.editAll(99999, gg.TYPE_DWORD)  --telling gg to edit all 999999 and only DWORD a datatype for 123 1,000,000,000
  gg.clearResults() -- telling gg to clear every number of 999999
  gg.toast('Script made by {user}')
  gg.setVisible(true) --make gg abra cadabra
  end -- end your function always
menu=gg.choice({'Your button name','Another button name','if you have another button name','exit'},nil,})
if menu==1 then -- if menu== the first button which is 1 then it will execute that function only
start() --function declared
end
if menu==2 then  --same thing but this is 2
ant()
end
if menu==3 then  -- same thing but this is 3
hea()
end
if menu==4 then
bye()
end
if menu==nil then end   -- nil means 0 which no input so if u click out u can end or declare a function but i reccomend ending

 

 

 

 

Link to comment
Share on other sites

  • 11 months later...

Script ended:
Script error: luaj.LuaError: load /storage/emulated/0/Download/DOWNLOAD KODE SOAL LATSOL MINGGUAN 2022 PART 10 (SFILE.MOBI).txt: luaj.LuaError: /storage/emulated/0/Download/DOWNLOAD KODE SOAL LATSOL MINGGUAN 2022 PART 10 (SFILE.MOBI).txt:1
`Selamat mengerjakan Latsol Mingguan 2022 Part 10,`
syntax error near 'mengerjakan'
    at luaj.LuaValue.error(LuaValue.java:997)
    at luaj.Globals.loadfile(Globals.java:255)
    at android.ext.Script.runScript(Script.java:5857)
    at android.ext.Script$ScriptThread.run(Script.java:5650)
Caused by: luaj.LuaError: /storage/emulated/0/Download/DOWNLOAD KODE SOAL LATSOL MINGGUAN 2022 PART 10 (SFILE.MOBI).txt:1
`Selamat mengerjakan Latsol Mingguan 2022 Part 10,`
syntax error near 'mengerjakan'
    at luaj.compiler.LexState.lexerror(LexState.java:295)
    at luaj.compiler.LexState.syntaxerror(LexState.java:299)
    at luaj.compiler.LexState.check_condition(LexState.java:1012)
    at luaj.compiler.LexState.exprstat(LexState.java:2179)
    at luaj.compiler.LexState.statement(LexState.java:2273)
    at luaj.compiler.LexState.statlist(LexState.java:2290)
    at luaj.compiler.LexState.mainfunc(LexState.java:2306)
    at luaj.compiler.LuaC$CompileState.luaY_parser(LuaC.java:121)
    at luaj.compiler.LuaC.compile(LuaC.java:99)
    at luaj.Globals.compilePrototype(Globals.java:364)
    at luaj.Globals.loadPrototype(Globals.java:352)
    at luaj.Globals.load(Globals.java:267)
    at luaj.Globals.loadfile(Globals.java:249)
    ... 2 more

Link to comment
Share on other sites

  • 1 month later...
On 9/9/2021 at 9:07 AM, Sanyan said:

Script ended:
Script error: luaj.LuaError: load /storage/emulated/0/Download/DOWNLOAD KODE SOAL LATSOL MINGGUAN 2022 PART 10 (SFILE.MOBI).txt: luaj.LuaError: /storage/emulated/0/Download/DOWNLOAD KODE SOAL LATSOL MINGGUAN 2022 PART 10 (SFILE.MOBI).txt:1
`Selamat mengerjakan Latsol Mingguan 2022 Part 10,`
syntax error near 'mengerjakan'
    at luaj.LuaValue.error(LuaValue.java:997)
    at luaj.Globals.loadfile(Globals.java:255)
    at android.ext.Script.runScript(Script.java:5857)
    at android.ext.Script$ScriptThread.run(Script.java:5650)
Caused by: luaj.LuaError: /storage/emulated/0/Download/DOWNLOAD KODE SOAL LATSOL MINGGUAN 2022 PART 10 (SFILE.MOBI).txt:1
`Selamat mengerjakan Latsol Mingguan 2022 Part 10,`
syntax error near 'mengerjakan'
    at luaj.compiler.LexState.lexerror(LexState.java:295)
    at luaj.compiler.LexState.syntaxerror(LexState.java:299)
    at luaj.compiler.LexState.check_condition(LexState.java:1012)
    at luaj.compiler.LexState.exprstat(LexState.java:2179)
    at luaj.compiler.LexState.statement(LexState.java:2273)
    at luaj.compiler.LexState.statlist(LexState.java:2290)
    at luaj.compiler.LexState.mainfunc(LexState.java:2306)
    at luaj.compiler.LuaC$CompileState.luaY_parser(LuaC.java:121)
    at luaj.compiler.LuaC.compile(LuaC.java:99)
    at luaj.Globals.compilePrototype(Globals.java:364)
    at luaj.Globals.loadPrototype(Globals.java:352)
    at luaj.Globals.load(Globals.java:267)
    at luaj.Globals.loadfile(Globals.java:249)
    ... 2 more

I have same error did you get it fixed? If you did please let me know how, thanks

Link to comment
Share on other sites

  • 7 months later...
  • 2 weeks later...

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.