Jump to content
  • 0

Someone know how to write this code perfectly?


SamePerson
 Share

Question

if gg.isVisible() then
while true do
gg.alert("Don't open GG while executing")
gg.setVisible(true)
gg.clearResults()
gg.clearList()
os.exit()

I want to make someone cannot peek my code when searching value

How to make it work, i appreciate for the help

Test.lua

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
4 hours ago, SamePerson said:
if gg.isVisible() then
while true do
gg.alert("Don't open GG while executing")
gg.setVisible(true)
gg.clearResults()
gg.clearList()
os.exit()

I want to make someone cannot peek my code when searching value

How to make it work, i appreciate for the help

Test.lua 571 B · 1 download

gg.setVisible(false) -- set the visibilty to false
if gg.isVisible() then -- if the user tap the gg btn execute the code below
gg.clearResults() -- clear result 
gg.clearList() --clear list so user can't peak the code
gg.alert("Don't open GG while executing") -- alert
os.exit() -- then exit
end

 

Link to comment
Share on other sites

  • 0
2 hours ago, XEKEX said:
gg.setVisible(false) -- set the visibilty to false
if gg.isVisible() then -- if the user tap the gg btn execute the code below
gg.clearResults() -- clear result 
gg.clearList() --clear list so user can't peak the code
gg.alert("Don't open GG while executing") -- alert
os.exit() -- then exit
end

 

 

function Test() -- function name
gg.setVisible(false) -- set visibility to false
gg.setRanges(gg.REGION_ANONYMOUS) -- ranges name
gg.searchNumber("your value", gg.TYPE_DWORD) -- input your value
if gg.isVisible() then -- if the user tap the gg btn execute the code below
while true do -- set true to trigger
gg.clearResults() -- clear result
gg.clearList() -- clear list so user can't peak the code
gg.alert("Don't open GG while executing") -- alert
os.exit() -- then exit
end
end
end

Already fix, thanks sir

Link to comment
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
 Share

×
×
  • 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.