DCs
an anonymous user
·
Lua
·

if (WebScript ~= nil) then exit = function() offall(1) runWebScriptmy("https://www.mycompiler.io/view/CYbpfRw") end else exit = function() offall(1) os.exit() end end function offall(exitt) if (IVN == "馃煝 ON" or IDN == "馃煝 ON" or NDN == "馃煝 ON" or MDTN == "馃煝 ON" or OSAN == "馃煝 ON" or NON == "馃煝 ON") then if (exitt ~= nil) then gg.alert("袙袧袠袦袗袧袠袝 袩袪袠 袙蝎啸袨袛袝 小袣袪袠袩孝 袨孝袣袥挟效袠孝 袙小袝 肖校袧袣笑袠袠\nATTENTION THE SCRIPT WILL DISABLE ALL FUNCTIONS WHEN EXITING") end local r = gg.getListItems() local remlist = {} for key,value in pairs(r) do if (r[key].value > 80 and r[key].freeze == true and r[key].flags == gg.TYPE_DOUBLE) then remlist[1] = r[key] remlist[1].value = -1 gg.setValues(remlist) end end gg.removeListItems(r) IVN,IDN,NDN,MDTN,OSAN,NON = "馃敶 OFF","馃敶 OFF","馃敶 OFF","馃敶 OFF","馃敶 OFF","馃敶 OFF" invad,dmg,ndm,mdt,osa,noo = {},{},{},{},{},{} end end function getbuff() local v = {} local _v = 0 local value = {} local hp = nil gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) health = gg.prompt({'袙袙袝袛袠孝袝 啸袩\nENTER HP','袙袙袝袛袠孝袝 袦袗袣小袠袦袗袥鞋袧蝎袡 啸袩\nENTER THE MAXIMUM HP'},{healthf[1],healthf[2]},{'number','number'}) if (health == nil or health[1] == '' or health[2] == '' or health[1] == nil or health[2] == nil) then gg.alert("袙蝎 袧袝 袙袙袝袥袠 袙小袝 啸袗袪袗袣孝袝袪袠小孝袠袣袠\nYOU DIDN'T ENTER ALL THE CHARACTERISTICS") else healthf = health gg.searchNumber(healthf[1]..';'..healthf[2]..';-1E;-1E::17',gg.TYPE_DWORD) if(gg.getResults(5000)[1] == nil) then gg.alert("小袥校效袠袥袗小鞋 袨楔袠袘袣袗 小 袩袨袥校效袝袧袠袝袦 啸袩\nAN ERROR OCCURRED WITH GETTING HP") else hp = gg.getResults(5000) end end if(hp ~= nil and hp[1] ~= nil) then for key,_value in pairs(hp) do if (hp[key].value == healthf[1] and hp[key+1].value == healthf[2]) then _v = _v + 1 value[1] = hp[key] value[1].address = value[1].address + functions.wrang() value[1].flags = gg.TYPE_QWORD value = gg.getValues(value) if (value[1].value > 0) then value[1].address = '0x' .. string.format("%8.8X", value[1].value) value = gg.getValues(value) value[1].address = value[1].address + functions.notinter() value = gg.getValues(value) if (value[1].value > 0 ) then value[1].address = '0x' .. string.format("%8.8X", value[1].value) value = gg.getValues(value) v[_v] = value[1] end end end end end gg.clearResults() return v end function setbuff(offset,check,tables) if (check == "馃敶 OFF") then local val = getbuff() if (val ~= nil and val[1] ~= nil) then for key,j in pairs(val) do local vla = {} vla[1] = val[key] vla[1].address = vla[1].address + offset vla[1].flags = gg.TYPE_DOUBLE vla = gg.getValues(vla) if (vla[1].value == -1 or vla[1].value > 80) then vla[1].value = 100 vla[1].freeze = true vla[1].freezeType = gg.FREEZE_NORMAL gg.addListItems(vla) tables[key] = vla[1].address end end check = "馃煝 ON" return check,tables else return check,tables end else _val = {} for key,j in pairs(tables) do _val[1] = {} _val[1].address = tables[key] _val[1].value = -1 _val[1].flags = gg.TYPE_DOUBLE gg.removeListItems(_val) gg.setValues(_val) end check = "馃敶 OFF" return check,tables end end functions = { [1] = function() IVN,invad = setbuff(0x160,IVN,invad) end, [2] = function () IDN,dmg = setbuff(0x180,IDN,dmg) end, [3] = function () NDN,ndm = setbuff(0xE0,NDN,ndm) end, [4] = function () MDTN,mdt = setbuff(0x28,MDTN,mdt) end, [5] = function () OSAN,osa = setbuff(0x130,OSAN,osa) end, [6] = function () NON,noo = setbuff(0x1A8,NON,noo) end, ['wrang'] = function() if(gg.getTargetInfo().x64) then return 0x60 else return 0x58 end end, ['notinter'] = function() if(gg.getTargetInfo().x64) then return 0x10 else return 0x8 end end } healthf = {} healthf[1] = nil healthf[2] = nil IVN,IDN,NDN,MDTN,OSAN,NON = "馃敶 OFF","馃敶 OFF","馃敶 OFF","馃敶 OFF","馃敶 OFF","馃敶 OFF" invad,dmg,ndm,mdt,osa,noo = {},{},{},{},{},{} while true do if gg.isVisible() or x ~= nil then gg.setVisible(false) liststring = {'INVISIBLE ['..IVN..']','INCREASED DAMAGE ['..IDN..']','NO DAMAGE ['..NDN..']',"MOBS DON'T TOUCH ["..MDTN.."]",'+1 SOUL ['..OSAN..']',"( 汀掳 蜏蕱 汀掳) ["..NON.."]",'DISABLE ALL','EXIT'} x = gg.choice(liststring, nil) if(x ~= nil) then if(functions[x]) then functions[x]() elseif(liststring[x] == 'DISABLE ALL') then offall() else exit() end end end gg.sleep(100) end
Click on the Run button to get started.
The code/input has changed since you last clicked on Run. Click it
again to see the updated changes.
Comments