Jump to content
  • 0

How to freeze my value


Mojihacker
 Share

Question

::Nitrojen::
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("1.5;8;1.5;8::13", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.searchNumber("8", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
searchResults = gg.getResults(1)
for i, v in ipairs(searchResults) do
  v.freeze = true
end
gg.addListItems(searchResults)
gg.toast('Gived Ultimate Nitro')
gg.clearResults()
goto SmartCheater

::Ghost::
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("1.96181785e-44;2.1019477e-44;1.68155816e-44;1.821688e-44;2.24207754e-44;1.26116862e-44;4.20389539e-45:101", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.searchNumber("4.20389539e-45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.getResults(20)
gg.editAll("0", gg.TYPE_FLOAT)
gg.toast('You Are Ghost Racer')
gg.clearResults()
goto SmartCheater

########################

freeze in tab ::Nitrojen:: worked.

But it did not work in tab :: Ghost :: Now how do I freeze the value.  Please change if possible and leave me the corrected script

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("1.96181785e-44;2.1019477e-44;1.68155816e-44;1.821688e-44;2.24207754e-44;1.26116862e-44;4.20389539e-45:101", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("4.20389539e-45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)

revert = gg.getResults(20, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(2500, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
	if v.flags == gg.TYPE_FLOAT then
		v.value = "0"
		v.freeze = true
	end
end
gg.addListItems(t)
t = nil

gg.toast('You Are Ghost Racer')
end

 

@Mojihacker

Link to comment
Share on other sites

  • 0

i use than that 

gg.setRanges(gg.REGION_C_ALLOC)

gg.searchNumber("450;425;400;6::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("6", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(2500, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(2500, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
	if v.flags == gg.TYPE_DWORD then
		v.value = "9999"
		v.freeze = true
	end
end
gg.addListItems(t)
t = nil
gg.alert("👍 UNLIMITED SHOTS WITH SHOTGUN👍")
end

 

Link to comment
Share on other sites

  • 0
8 hours ago, Mojihacker said:

Ggggggg is your code in my script

in that script, delete 'end' in line 68. delete 'local' in line 57.

it works for me.

Screenshot_2021-09-01-02-48-16-181_bin_mt_plus.thumb.jpg.b038e050638f5ed8f99192db1cd64094.jpg

What i wonder is about 'local t'. Why it is still there even we set t=nil. 

idk why this error happen

Screenshot_2021-09-01-03-00-47-034_bin_mt_plus.thumb.jpg.851a53f03f050dc896271dc225b2bbe5.jpg

If we use

do local t=....

blahblah

end

then we dont need to delete word 'local' in line 57.

as @blocxsaid, we are not pro. good luck bro XD.

 

Edited by Lover1500
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.