so i recently made some changes to my code but its now spitting an error that there is an unexpected symbol but idk what its talking about tbh
here is my error:
Script ended:
Script error: luaj.o: load /storage/emulated/0/Download/hax/gg/name/yessir.lua: luaj.o: /storage/emulated/0/Download/hax/gg/name/yessir.lua:1834
elseif then
unexpected symbol near 'then'
at luaj.LuaValue.a(src:997)
at luaj.Globals.c_(src:255)
at android.ext.Script.d(src:5992)
at android.ext.Script$ScriptThread.run(src:5785)
Caused by: luaj.o: /storage/emulated/0/Download/hax/gg/name/yessir.lua:1834
elseif then
unexpected symbol near 'then'
at luaj.a.h.a(src:295)
at luaj.a.h.c(src:299)
at luaj.a.h.h(src:1537)
at luaj.a.h.i(src:1548)
at luaj.a.h.j(src:1628)
at luaj.a.h.b(src:1741)
at luaj.a.h.k(src:1759)
at luaj.a.h.a(src:2074)
at luaj.a.h.M(src:2104)
at luaj.a.h.z(src:2224)
at luaj.a.h.A(src:2290)
at luaj.a.h.r(src:1789)
at luaj.a.h.J(src:1932)
at luaj.a.h.z(src:2228)
at luaj.a.h.A(src:2290)
at luaj.a.h.a(src:2306)
at luaj.a.u.a(src:121)
at luaj.a.t.a(src:99)
at luaj.Globals.a(src:364)
at luaj.Globals.a(src:352)
at luaj.Globals.a(src:267)
at luaj.Globals.c_(src:249)
... 2 more
and here is the code producing the issue:
whiletruedoif Qjctx ==2thenif gg.isVisible(true)then
Qjctx =2
gg.setVisible(false)endelseifthenif Qjctx ==1thenif loader123 then
loader123()endelseifthenif exit then
exit()endendend
Qjctx is = 1 and i want it to load the loader123() function that would then set Qjctx = to 2 and there for it should always defualt to main() function cuse i have this function:
whiletruedoif gg.isClickedUiButton()and Qjctx ==2thenif main then
main()endend
gg.sleep(100)end
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.
Question
animehack
so i recently made some changes to my code but its now spitting an error that there is an unexpected symbol but idk what its talking about tbh
here is my error:
and here is the code producing the issue:
Qjctx is = 1 and i want it to load the loader123() function that would then set Qjctx = to 2 and there for it should always defualt to main() function cuse i have this function:
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.