Jump to content
  • 0

Hi, My lua simple script doesn't work when trying to enable a cheat


615didar

Question

i been using game guardian for a while till the other day i foubd out about luas and starting to use other people's. But then i wanted to make my own especially since i know how to break some games. So i kind of got the lua concept right but when i run my cheat, it does nothing.

My lua so far:

gg.alert ('Hello This Is My First Script')
Menu=gg.choice ({'Coin Hack','Keys Hack'},nil,'Suscribe Uselessgoons')
if menu==1 then
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('0',gg.TYPE_DWORD)
gg.getResults(1000000)
gg.editAll('99999999',gg.TYPE_DWORD)
end
 

When i run coin hack nothing happens and i know im missing something i just dont know what, can somebody help me out or link me to something that will? Thank you

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

5 hours ago, 615didar said:

gg.alert ('Hello This Is My First Script')
Menu=gg.choice ({'Coin Hack','Keys Hack'},nil,'Suscribe Uselessgoons')
if Menu==1 then
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('0',gg.TYPE_DWORD)
gg.getResults(1000000)
gg.editAll('99999999',gg.TYPE_DWORD)
end

Try it.

Link to comment
Share on other sites

2 hours ago, zam535582 said:

the m/M for menu/Menu should be the same for both.

Menu =...  

if Menu ==..

or 

menu =...

if menu ==...

Bro thank you fam!! It was that simple lol ok so one more thing for Example subways surfers, easy game to hack with regular game guardian but how would we put that in a script, so lets say i want my money to be 999999 and i search for 0 but how much results do we get bc we cant edit all 1 million of them. How do we find this value in a code and put it in the menu if you know what im saying.

Link to comment
Share on other sites

38 minutes ago, zam535582 said:

after - gg.searchNumber -

then get some money.

after that - gg.refineNumber- to that new money value you have.

that will narrow down the results.

if you dont mind can i mssg you?

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.