-
Posts
31 -
Joined
-
Last visited
Additional Information
-
Android
7.x (Nougat)
-
Device
Samsung galaxy j7 prime
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Zedgmer's Achievements
-
lua scripts On Off Multi Toggle Menu Base Template
Zedgmer replied to NexusLoveYT's topic in LUA scripts
Hi bro, I used your template to create an automatic script, but I am failing to hide the menu after the first time, I leave you a quick video and the script so you can help me 2019-11-18_22-28-06 (2) .mp4 [added 0 minutes later] --Local's Setup --Add GG Calls Here local Choice = gg.choice local Toast = gg.toast local IsVisible = gg.isVisible local SetVisible = gg.setVisible local Sleep = gg.sleep --The Toggle local Toggle = 1 local On = "On" local Off = "Off" --Hide/Show if IsVisible(true) then SetVisible(false) end --MENU function ToggleMenu() Menu = Choice({ "Run", "ITEM 1", "ITEM 2", "Hide Menu" }, nil, "Zedmerlol") if menu == 1 then one() end if menu == 2 then item1() end if menu == 3 then item2() end if menu == 4 then hide() end end Toggle =-1 function one() gg.clearList() gg.clearResults() --gg.setVisible(false) gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("471,221;6,619,235;6,684,767;6,422,633;7,471,205",gg.TYPE_DWORD) gg.searchNumber("471", gg.TYPE_DWORD) t1 = gg.getResults(1000) gg.addListItems(t1) if not t1[1] then print("Error 1") gg.toast("Error 1") os.exit() end gg.clearResults() for a,b in pairs(t1)do gg.searchNumber(t1[a].address - 8,gg.TYPE_DWORD) t2 = gg.getResults(1000) if not t2[30] then gg.clearResults() else gg.clearResults() --gg.addListItems(t2) break end end gg.toast("Carga Finalizada") end --Loads Menu ToggleMenu() function hide() if IsVisible(true) then SetVisible(false) Toggle = 1 end Sleep(100) end --Enables Show/Hide while true do if IsVisible(true) then SetVisible(false) Toggle = 1 end Sleep(100) if Toggle == 1 then ToggleMenu() end end -
someone found another way to get the ID or CODE of the Gasoline section to be able to exchange for another box? since currently in version 1.10.3 the theme of "free store" no longer works: / help pls, I donate 10 dollars per paypal!