Maksup Posted May 13, 2023 Share Posted May 13, 2023 Main() menu = gg.choice({'mooney hack','Gem hack'},nil,'hi') if menu==1 then Menu1() end if menu==2 then Menu2()end end end function Menu1() menu1 = gg.choice({'Hack money'}) if menu1==1 then gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber('100', gg.TYPE_CODE_APP) gg.getResults('100') gg.editAll('13', gg.TYPE_C_ALLOC) gg.clearResults() end function Menu2() menu2 = gg.choice({'Hack gems'}) if menu2==1 then gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber('115', gg.TYPE_CODE_APP) gg.getResults('100') gg.editAll('99', gg.TYPE_C_ALLOC) gg.clearResults() end this is an example dont mind the values Link to comment Share on other sites More sharing options...
0 MonkeySAN Posted May 13, 2023 Share Posted May 13, 2023 i dont know what kind of help you need but maybe you can take a look at this example script : local gg = gg function main() -- this for test local menu = gg.choice({ "\n> Menu A", "\n> Menu B", "\n> Menu C", "\n< EXIT"}, nil,"Multi Menu") if menu == nil then gg.toast("minimize menu") return elseif menu == 1 then menu_A() elseif menu == 2 then menu_B() elseif menu == 3 then menu_C() elseif menu == 4 then os.exit() end end function menu_A() local menuA = gg.choice({ "\nHack A1", "\nHack A2", "\nHack A3"}, nil,"Menu A") if menuA == nil then main() elseif menuA == 1 then A1() elseif menuA == 2 then A2() elseif menuA == 3 then A3() end end function A1() --your codes here gg.toast("Hack A1 Done") end function A2() --your codes here gg.toast("Hack A2 Done") end function A3() --your codes here gg.toast("Hack A3 Done") end function menu_B() local menuB= gg.choice({ "\nHack B1", "\nHack B2", "\nHack B3"}, nil,"Menu B") if menuB == nil then main() elseif menuB == 1 then B1() elseif menuB == 2 then B2() elseif menuB == 3 then B3() end end function B1() --your codes here gg.toast("Hack B1 Done") end function B2() --your codes here gg.toast("Hack B2 Done") end function B3() --your codes here gg.toast("Hack B3 Done") end function menu_C() local menuC= gg.choice({ "\nHack C1", "\nHack C2", "\nHack C3"}, nil,"Menu C") if menuC == nil then main() elseif menuC == 1 then C1() elseif menuC == 2 then C2() elseif menuC == 3 then C3() end end function C1() --your codes here gg.toast("Hack C1 Done") end function C2() --your codes here gg.toast("Hack C2 Done") end function C3() --your codes here gg.toast("Hack C3 Done") end while true do while gg.isVisible() do gg.setVisible(false) main() end end and as far as i've known there is no such "TYPE_CODE_APP" value. only : CODE_APP is a memory ranges. 1 Link to comment Share on other sites More sharing options...
0 Count_Nosferatu Posted May 14, 2023 Share Posted May 14, 2023 (edited) 1 hour ago, MonkeySAN said: and as far as i've known there is no such "TYPE_CODE_APP" value. And this "gg.editAll('99', gg.TYPE_C_ALLOC)" Edited May 14, 2023 by Count_Nosferatu 1 Link to comment Share on other sites More sharing options...
0 Maksup Posted May 15, 2023 Author Share Posted May 15, 2023 On 5/14/2023 at 1:25 AM, MonkeySAN said: i dont know what kind of help you need but maybe you can take a look at this example script : local gg = gg function main() -- this for test local menu = gg.choice({ "\n> Menu A", "\n> Menu B", "\n> Menu C", "\n< EXIT"}, nil,"Multi Menu") if menu == nil then gg.toast("minimize menu") return elseif menu == 1 then menu_A() elseif menu == 2 then menu_B() elseif menu == 3 then menu_C() elseif menu == 4 then os.exit() end end function menu_A() local menuA = gg.choice({ "\nHack A1", "\nHack A2", "\nHack A3"}, nil,"Menu A") if menuA == nil then main() elseif menuA == 1 then A1() elseif menuA == 2 then A2() elseif menuA == 3 then A3() end end function A1() --your codes here gg.toast("Hack A1 Done") end function A2() --your codes here gg.toast("Hack A2 Done") end function A3() --your codes here gg.toast("Hack A3 Done") end function menu_B() local menuB= gg.choice({ "\nHack B1", "\nHack B2", "\nHack B3"}, nil,"Menu B") if menuB == nil then main() elseif menuB == 1 then B1() elseif menuB == 2 then B2() elseif menuB == 3 then B3() end end function B1() --your codes here gg.toast("Hack B1 Done") end function B2() --your codes here gg.toast("Hack B2 Done") end function B3() --your codes here gg.toast("Hack B3 Done") end function menu_C() local menuC= gg.choice({ "\nHack C1", "\nHack C2", "\nHack C3"}, nil,"Menu C") if menuC == nil then main() elseif menuC == 1 then C1() elseif menuC == 2 then C2() elseif menuC == 3 then C3() end end function C1() --your codes here gg.toast("Hack C1 Done") end function C2() --your codes here gg.toast("Hack C2 Done") end function C3() --your codes here gg.toast("Hack C3 Done") end while true do while gg.isVisible() do gg.setVisible(false) main() end end and as far as i've known there is no such "TYPE_CODE_APP" value. only : CODE_APP is a memory ranges. Bro i acidedantly swaped xa region and float type ;( Link to comment Share on other sites More sharing options...
Question
Maksup
Main()
menu = gg.choice({'mooney hack','Gem hack'},nil,'hi')
if menu==1 then Menu1() end
if menu==2 then Menu2()end
end
end
function Menu1()
menu1 = gg.choice({'Hack money'})
if menu1==1 then
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('100', gg.TYPE_CODE_APP)
gg.getResults('100')
gg.editAll('13', gg.TYPE_C_ALLOC)
gg.clearResults()
end
function Menu2()
menu2 = gg.choice({'Hack gems'})
if menu2==1 then
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('115', gg.TYPE_CODE_APP)
gg.getResults('100')
gg.editAll('99', gg.TYPE_C_ALLOC)
gg.clearResults()
end
this is an example dont mind the values
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now