Jump to content

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

Posted (edited)
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

  • Similar Content

    • By McStankey
      I can't find the value I need for the fly hack(for Subway surfers) if you have the value if you would give it to me that would be great I'll give credit were it is needed 
    • By adadadad1235352
      HI, Can anybody give or create script on this game - https://play.google.com/store/apps/details?id=com.kartuzov.mafiaonline ?
      I search cheats on this game and found it - https://www.youtube.com/watch?v=WFPx468K5xI&t=174s
      If anybody can create cheat like on video I can pay you
      I want cheat with function of show roles of players 

      Хай, может кто-то создать скрипт на эту игру - https://play.google.com/store/apps/details?id=com.kartuzov.mafiaonline ?
      Из читов которые я находил только это - https://www.youtube.com/watch?v=WFPx468K5xI&t=174s
      Если кто-то захочет создать скрипт могу заплатить 
      Желательно чит который будет расскрывать роли игроков, а ночью показывает кто к кому ходил(К кому ходил док, пута, шер, ман)
      Заплатить могу около 25 тысяч после создания, пруфы что деньги есть могу предоставить 
    • By Lukasfer
      There is already a MOD (Damage) but It's not updated so if someone can cheat it and update it weekly please
      or learn how to do or update the MOD PLEASE 
       
    • By lwlo
      yesterday i was trying to test an script from a friend of the game duel links but everytimwe when try to link my account into the parallel cloned duel links it opens in the net the konami id login and when i put the page redirect to the original duel links instead to the cloned and for that i cant link my account into the cloned. rooting may be the way to go bcause i woul doesnt need to clone, pls someone help me
    • By MrXnuv3r
      help me to find more than one value
      I mean, if I look for the value "25" and there are no results, then continue to look for the second value "20".
      but if I look for the value "25" and there are results, then don't look for the second value "20"
      I tried writing the script but GG always read i search value "5"
      sorry for my english
      I hope you understand what I mean
       
×
×
  • Create New...