Jump to content
Kilookuoma

Script crashes when i try to use it HELP

Recommended Posts

My script crashes always when i try to use it. 

It worked on another guy, and he got the hacks!

Is there some problem in gameguardian?

Code:

gg.sleep(750)
menuk = 1

if gg.isVisible(true) then
  gg.setVisible(false)
end

--Radar ( show enemy on minimap)
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("0150001360009FE5r", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1)
z = gg.getResults(1)
gg.addListItems(z)
gg.clearResults()
--Rain ( headshot hack)
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("0000A0E3r;060050E1r;04D08DE2r;00000000r;1EFF2FE1r;F04F2DE9r;1CB08DE2r;0040A0E1r;000051E3r;00009FE7r;000090E5r", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('0', gg.TYPE_DWORD)
m = gg.getResults(1)
gg.addListItems(m)
gg.clearResults()
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("010050E3r;18009DE5r;147090E5r;000057E3r;0000A0E3r;104A08EEr;106A09EEr;000054E3r;0000A0E3r;0400A0E1r;0010A0E3r", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('010050E3r', gg.TYPE_DWORD)
s = gg.getResults(1)
gg.addListItems(s)
gg.clearResults()
--Spread ( No spread )
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("1.0e-6F;360.0F;3.14159274101F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('3.14159274101', gg.TYPE_FLOAT)
j = gg.getResults(1)
gg.addListItems(j)
gg.clearResults()
--Crosshair always visible
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("7800D0E51EFF2FE1r", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1)
e = gg.getResults(1)
gg.addListItems(e)
gg.clearResults()
--Anti smoke/flash
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("0AD7233CF0482DE9r;10B08DE20050A0E1r;0050A0E1E4009FE5r", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("0AD7233CF0482DE9r", gg.TYPE_QWORD)
a = gg.getResults(1)
gg.addListItems(a)
gg.clearResults()
gg.searchNumber("0AD7233Cr;00007F43r;00000000r;F04F2DE9r;10D04DE2r;0060A0E1r;000057E3r;0050A0E3r", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('0AD7233Cr', gg.TYPE_DWORD)
b = gg.getResults(4)
gg.addListItems(b)
gg.clearResults()
--Rate of fire
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("00007042r;0010A0E1r;0100A0E3r;000052E3r;104C2DE9r;08B08DE2r;000054E3r", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('00007042r', gg.TYPE_DWORD)
x = gg.getResults(1)
gg.addListItems(x)
gg.clearResults()
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("33FF2FE1r;00007042r;0100A0E3r;000050E3r;0000A0E3r;0050A0E1r;000055E3r;0000A0E3r", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('00007042r', gg.TYPE_DWORD)
v = gg.getResults(1)
gg.addListItems(v)
gg.clearResults()
--Fov ( field of view)
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("-1.0177361e28F;-1.2174885e21F;-3.6893502e20F;360.0F;-9.9162329e27F;-7.5594757e22F;-9.9984399e27F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('360', gg.TYPE_FLOAT)
r = gg.getResults(1)
gg.addListItems(r)
gg.clearResults()
--Wallshoot(Shoot Through walls)
gg.setRanges(gg.REGION_C_BSS)
gg.searchNumber("9.99999972e-10;9.99999972e-10;9.99999972e-10;9.99999972e-10;2.0;2.0;2.0;2.0:45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
y = gg.getResults(8)
gg.addListItems(y)
gg.clearResults()
--No camera shake
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("010050E3r;000057E3r;0700A0E1r;00007042r;F04F2DE9r;1CB08DE2r;000050E3r;0020A0E3r", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber('00007042r', gg.TYPE_DWORD)
u = gg.getResults(1)
gg.addListItems(u)
gg.clearResults()

 

on = '• Turn OFF '
off = '• Turn ON '
radar = off
rain = off
spread = off
crosshair = off
smokeflash = off
firerate = off
fov = off
wallhack = off
camerashake = off

function START()

local menu = gg.multiChoice({
radar.. 'Radar ',
rain.. 'Rain ',
spread.. 'No Spread ',
crosshair.. 'Crosshair Always Visible ',
smokeflash.. 'Anti Flash/Smoke ',
firerate.. 'FireRate ',
fov.. 'Fov ',
wallhack.. 'Wallshoot ',
camerashake.. 'No Camera Shake',
'EXIT'},
nil,
'C-ops 1.10.0 Script By Skull Modz V2')

if menu == nil then noselect()
else
if menu[10] then exit()
else
if menu[1] then
if radar == on then
radar = off
gg.getListItems(z)
z[1].value = '0150001360009FE5r'
gg.setValues(z)
gg.toast('Radar off')
else
radar = on
gg.getListItems(z)
z[1].value = '0050001360009FE5r'
gg.setValues(z)
gg.toast('Radar On')
end
end

if menu[2] then
if rain == on then
rain = off
gg.getListItems(m)
gg.getListItems(s)
m[1].value = '0'
s[1].value = '010050e3r'
gg.setValues(m)
gg.setValues(s)
gg.toast('Rain Off')
else
rain = on
gg.getListItems(m)
gg.getListItems(s)
m[1].value = '00009841r'
s[1].value = '000050e3r'
gg.setValues(m)
gg.setValues(s)
gg.toast('Rain On')
end
end

if menu[3] then
if spread == on then
spread = off
gg.getListItems(j)
j[1].value = '3.14159274101'
gg.setValues(j)
gg.toast('Spread Off')
else
spread = on
gg.getListItems(j)
j[1].value = '0'
gg.setValues(j)
gg.toast('Spread On')
end
end

if menu[4] then
if crosshair == on then
crosshair = off
gg.getListItems(e)
e[1].value = '7800D0E51EFF2FE1r'
gg.setValues(e)
gg.toast('Crosshair Visible Off')
else
crosshair = on
gg.getListItems(e)
e[1].value = '0100A0E31EFF2FE1r'
gg.setValues(e)
gg.toast('Crosshair Visible On')
end
end

if menu[5] then
if smokeflash == on then
smokeflash = off
gg.getListItems(a)
gg.getListItems(b)
a[1].value = '0AD7233CF0482DE9r'
b[1].value = '0AD7233Cr'
b[2].value = '0AD7233Cr'
b[3].value = '0AD7233Cr'
b[4].value = '0AD7233Cr'
gg.setValues(a)
gg.setValues(b)
gg.toast('Anti Flash/Smoke Off')
else
smokeflash = on
gg.getListItems(a)
gg.getListItems(b)
a[1].value = '003C1C46F0482DE9r'
b[1].value = '000010C1r'
b[2].value = '000010C1r'
b[3].value = '000010C1r'
b[4].value = '000010C1r'
gg.setValues(a)
gg.setValues(b)
gg.toast('Anti Flash/Smoke On')
end
end

if menu[6] then
if firerate == on then
firerate = off
gg.getListItems(x)
gg.getListItems(v)
x[1].value = '00007042r'
v[1].value = '00007042r'
gg.setValues(x)
gg.setValues(v)
gg.toast('Firerate Off')
else
firerate = on
gg.getListItems(x)
gg.getListItems(v)
x[1].value = '00005C42r'
v[1].value = '00000C42r'
gg.setValues(x)
gg.setValues(v)
gg.toast('Firerate On')
end
end

if menu[7] then
if fov == on then
fov = off
gg.getListItems(r)
r[1].value = '360'
gg.setValues(r)
gg.toast('Fov Off')
else
fov = on
gg.getListItems(r)
r[1].value = '267'
gg.setValues(r)
gg.toast('Fov On')
end
end

if menu[8] then
if wallhack == on then
wallhack = off
gg.getListItems(y)
y[1].value = '9.99999972e-10'
y[2].value = '9.99999972e-10'
y[3].value = '9.99999972e-10'
y[4].value = '9.99999972e-10'
y[5].value = '2'
y[6].value = '2'
y[7].value = '2'
y[7].value = '2'
gg.setValues(y)
gg.toast('Mbullets Off')
else
wallhack = on
gg.getListItems(y)
gg.alert(' Using Wallshoot will Result in A kick ')
y[1].value = '-2'
y[2].value = '-2'
y[3].value = '-2'
y[4].value = '-2'
y[5].value = '-2'
y[6].value = '-2'
y[7].value = '-2'
y[8].value = '-2'
gg.setValues(y)
gg.toast('Mbullets On')
end
end

if menu[9] then
if camerashake == on then
camerashake = off
gg.getListItems(u)
u[1].value = '00007042r'
gg.setValues(u)
gg.toast('Camera shake Off')
else
camerashake = on
gg.getListItems(u)
u[1].value = '00000000r'
gg.setValues(u)
gg.toast('Camera shake On')
end
end

 

end
end
menuk =-1
end

function noselect()
gg.toast('You select nothing')
end

function exit()
gg.removeListItems(z)
gg.removeListItems(m)
gg.removeListItems(s)
gg.removeListItems(j)
gg.removeListItems(e)
gg.removeListItems(a)
gg.removeListItems(b)
gg.removeListItems(x)
gg.removeListItems(v)
gg.removeListItems(r)
gg.removeListItems(y)
gg.removeListItems(u)
print([[Thank you for using my script !
█████████
█▄█████▄█
█   ▼▼▼▼▼
█    - Contact Me: -
█ GameGuardian:  @A4hunger
█ Youtube:     @Kilookuoma
█ Discord :   @Kilookuoma#7042
█    ▲▲▲▲▲
█████████
__██____██___
]])
os.exit()
end

START()

while (true) do
  if gg.isVisible(true) then
    gg.setVisible(false)
menuk = 1
  end
if menuk == 1 then START() end
end

 

Screenshot_20191007-234357.png

Share this post


Link to post
Share on other sites

14 minutes ago, Kilookuoma said:

gg.getListItems(m)
gg.getListItems(s)

It is simply wrong. So this script contain errors and bad written, so nothing strange if it crash.

Share this post


Link to post
Share on other sites

But how this will be fixed?? That worked in my dc friend who made it.... His name is A4H. How that work on him?! @Enyby

Share this post


Link to post
Share on other sites

To write normally. Learn API and use API methods, as it is described, and not so desirable. Then the results will be clear and predictable.

And I very much doubt that something works for "your friend".

Determining what the daub on canvas is very easy. To say what to do to make the picture cool is extremely difficult.

So it is here.

Share this post


Link to post
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

×
×
  • Create New...