Jump to content
Sign in to follow this  
McStankey

Help with gg.prompt

Recommended Posts

I want to make a script wich uses gg.prompt to search the users input number and then after searching it closes the prompt and once the user clicks game guardian it opens a new prompt wich gets your new imputed number after that it edits that searched value to 999999999 and freezes it 

If you can make this please give me the file thanks or comment the code

Share this post


Link to post
Share on other sites
Zzz = 0
function HOME()
MENU = gg.choice({
"Search value",
"Edit Value",
"•EXIT•"},nil,"________TITLE___Here_______")
if MENU == nil then
else
if MENU == 1 then SEARCH() end
if MENU == 2 then EDIT() end
if MENU == 3 then EXIT() end
end
LOL = -1
end




function SEARCH()
gg.clearResults()
local input = gg.prompt(
	{'Enter a value :'},
	{[1] = nil},
	{[1] = 'number'}
)
gg.searchNumber( input[1] ,gg.TYPE_DWORD)
Zzz = 1
end



function EDIT()
if Zzz == 1 then
local input = gg.prompt(
	{'Enter a value :'},
	{[1] = nil},
	{[1] = 'number'}
)
-- if you dont want to freeze use only "gg.editAll(input[1])" and remove the below code

local t = gg.getResults(999, nil, nil, nil, nil, nil, nil, nil, nil)
gg.addListItems(t)
for i, v in ipairs(t) do
	if v.flags == gg.TYPE_DWORD then
		v.value = input[1]
		v.freeze = true
		v.freezeType = gg.FREEZE_NORMAL
	end
end
gg.addListItems(t)
else
gg.alert("Search value first ")
end
end



function EXIT()
gg.toast("Thx to Jay_s_p")
print("Print Msg here\n.\n.\n.Here you can write Your Last Msg") --Here You can write you last message!!!
os.exit()
end



while true do
  if gg.isVisible(true) then
    LOL = 1
    gg.setVisible(false)
  end
  if LOL == 1 then
    HOME()
  end
end

-- Contact me here,
-- Telegram : t.me/zswnx

It's easy.

But Use my code as reference not to copy Paste...

😴😴😴

Script.Prompt.lua

Edited by jay__s__p

Share this post


Link to post
Share on other sites

Hey I just used some code from my subway surfer script but thanks, this wasent what I was looking for 

Share this post


Link to post
Share on other sites

maybe this will help...

local gg = gg

--1st step Search
gg.setVisible(false)
local d = gg.prompt({"Enter Number"},{0},{"number"})
if d == nil then gg.toast("Canceled") os.exit() end
gg.searchNumber(d[1], 4)
gg.getResults(10000)
gg.alert("Refine Number and get back to script")

::sleep::
gg.sleep(100)
if gg.isVisible(true) then
gg.setVisible(false)

--2nd step Refine and edit
local d = gg.prompt({"Refine Number"},{0},{"number"})
if d == nil then gg.toast("Canceled") os.exit() end
gg.searchNumber(d[1], 4)
local t = gg.getResults(1)
  
for i,v in pairs(t) do
  
 if v.flags == 4 then
    v.value = 999999999
    v.freeze = true
    end
end
gg.addListItems(t)
t = nil 
gg.clearResults()
gg.toast("Done")
else
goto sleep
end

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By Ahana7
      Can anyone help me toh hack a online game😍
    • By httpfurki
      I tried many ways. I have never been able to succeed. I'm waiting for the hacker lesson. I will be requested to cheat for this game.
      Game Link : https://play.google.com/store/apps/details?id=com.elex.rummyfun101.tr
      thanks.
       

    • By Strikesblue
      Was good peeps I need some people we can put our brain together ik we can figure out something 
      To get the 50000000 just do 1000;1000 dword value and anonymous then from there yall could see what happens if I find anything useful I edit the post ty in advance 
      morg.mp4
    • By Stans
      Does anyone know how to change the monopoly (paid) dice to our liking? please give me a tutorial. For example using an unrandomizer. But I don't know how.
      [added 0 minutes later]  
    • By PublicHax
      Greetings! This is my next tutorial on the GameGuardian program. Today I will explain a topic such as How to hide GameGuardian from games.
      When can this be used?
      For example, we launched GameGuardian, we want to open Free Fire with GameGuardian running, time passes, we are simply thrown out of the game and they say Remove GameGuardian to enter the game. It makes us sad that we won't be able to cheat in Free Fire.
      What is needed for this method?
      Root rights, Virtual Xposed, and GameGuardian itself must be present on your device.
      How to implement the method?
      We need to open Xposed Virtual, add GameGuardian, open it, click on the Fix button, find a menu called Use root in virtual space, open this menu, click Yes and restart. After we have restarted GameGuardian in the virtual space, you can exit it, and remove GameGuardian from the main device.
      The end...
×
×
  • Create New...