Jump to content
  • 0

Code not working and i dont know why


YeetMeister

Question

I've got a Problem with my Code and i need help with some more functions like. People are able to change their values with gg.prompt n stuff (i mean like GG.editAll(1999999999) but with GG.prompt that they can choose own values

gg.toast("Memory Ranges: A:Anonymous and Xa:Code App for the Fastest Results")
v = gg.prompt({i='GoldRoom(After Spawning in)Search: 600;600'}, {i='0'})
if v == nil then
	gg.alert ('Goldroom Hack Cancelled, no Input')end
	gg.searchNumber(v['i'], gg.TYPE_DWORD, true, gg.SIGN_EQUAL, 0, -1)
	end
	if gg.getResultCount() == 4 then
	gg.getResults(4)
	gg.editAll('1999999999', gg.TYPE_DWORD) 
	gg.alert('Hacking Done!, Enjoy') 
	os.exit()
	else gg.alert('Too much values found, Go to game and change the value, then open gameguardian window again')
	end 

Please help Thanks

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

1 hour ago, YeetMeister said:

if v == nil then gg.alert ('Goldroom Hack Cancelled, no Input')end gg.searchNumber(v['i'], gg.TYPE_DWORD, true, gg.SIGN_EQUAL, 0, -1)

replace end with else

Link to comment
Share on other sites

Just now, Pyxe said:

replace end with else

Oh okay thanks ima try

Can you hell me with the "Custom value" thing too?

 

_______________________________________________
added 2 minutes later
3 minutes ago, Pyxe said:

replace end with else

Oh okay thanks ima try

Can you hell me with the "Custom value" thing too?

 

Link to comment
Share on other sites

gg.toast("Memory Ranges: A:Anonymous and Xa:Code App for the Fastest Results")
v = gg.prompt({i = "GoldRoom(After Spawning in)Search: 600;600"}, {i = "0"})
if v == nil then
  gg.alert("Goldroom Hack Cancelled, no Input")
else
  gg.searchNumber(v["i"], gg.TYPE_DWORD, true, gg.SIGN_EQUAL, 0, -1)
  if gg.getResultCount() == 4 then
    gg.getResults(4)
    gg.editAll("1999999999", gg.TYPE_DWORD)
    gg.alert("Hacking Done!, Enjoy")
  else
    gg.alert("Too much values found, Go to game and change the value, then open gameguardian window again")
  end
end

Formatted and fixed, that should give u the what u want

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.