Hello! I am trying to write a small script, with lua familiar for the second day and have made some progress.
In this function, I search for values and filter them out until there are exactly two left. Then I change them, but how do I freeze them? I tried to search for the answer using the example of other scripts, but most of them are encrypted, and in those that are not encrypted, I did not find the answer (or did not understand it). How do I use FREEZE_NORMAL correctly? Can someone help me with an example of my script? Thanks.
function Flash()
gg.searchNumber("17~20", gg.TYPE_DWORD,false, gg.SIGN_EQUAL,0,-1)while gg.getResultsCount()>2do
gg.processResume()
gg.sleep(1250)
gg.processPause()
gg.searchFuzzy("-3~-1", gg.SIGN_FUZZY_EQUAL, gg.TYPE_DWORD,0,-1)end
gg.getResults(10)
gg.editAll('-1', gg.TYPE_DWORD)
gg.FREEZE_NORMAL()-- Incorrect usage, but I don't know how to use it correctly. :(
gg.toast('Done!')
gg.setVisible(true)
os.exit()end
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.
Question
SurikenTSD
Hello! I am trying to write a small script, with lua familiar for the second day and have made some progress.
In this function, I search for values and filter them out until there are exactly two left. Then I change them, but how do I freeze them? I tried to search for the answer using the example of other scripts, but most of them are encrypted, and in those that are not encrypted, I did not find the answer (or did not understand it). How do I use FREEZE_NORMAL correctly? Can someone help me with an example of my script? Thanks.
13 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now