local turnOn = false function notify(msg) gg.toast(msg) gg.clearResults() end function customRefine(option) if option == 1 then gg.refineNumber("100~65000;200~65000::9", gg.TYPE_WORD) end end local scriptTitle = "" local scanTemplate = { className = ":pnfhfhakncl", offsets = { 0x2A4, 0x2AC }, valueType = gg.TYPE_WORD, newValue = 100 } while true do if gg.isVisible(true) then gg.setVisible(false) local menu = gg.choice({ "β˜…Champ booster reward", "β˜…Animal/Npc idiot", "β˜…Buff skill(co-op)", "Exit Script" }, nil, [[ Gem reward Booster Script By noobz Activate this script **inside a co-op or PvP room**. It boosts the gem reward from killing any champion to **πŸ’Ž60 gems**. Both small and large champions will give the same reward. ]] ) if menu == nil then -- do nothing elseif menu == 1 then gg.toast("⏳ Scanning pointer...") gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("h 01 20 10 00 0F 08 00 02", gg.TYPE_BYTE) local anchor = gg.getResults(1) if #anchor == 0 then notify("❌ Not in Game / Pattern not found") else local offsetResults = {} for i, v in ipairs(anchor) do table.insert(offsetResults, { address = v.address - 0x118, flags = gg.TYPE_BYTE }) end local xResults = gg.getValues(offsetResults) local baseAddr = xResults[1].address gg.clearResults() gg.searchNumber(tostring(baseAddr), gg.TYPE_QWORD) local results = gg.getResults(gg.getResultCount()) if #results == 0 then notify("❌ Base address reference not found!") else local pointerList = {} for _, item in ipairs(results) do for _, o in ipairs({ 0x14, 0x1C }) do table.insert(pointerList, { address = item.address + o, flags = gg.TYPE_WORD }) end end gg.clearResults() gg.loadResults(pointerList) customRefine(1) local finalResults = gg.getResults(gg.getResultCount()) if #finalResults > 0 then for i, addr in ipairs(finalResults) do addr.value = 20000 .."+x2" addr.freeze = false end gg.setValues(finalResults) notify("πŸ’Ž 60 Gems Boost [βœ…ON]") turnOn = true else notify("❌ No matching address found") end end end elseif menu == 2 then gg.setRanges(gg.REGION_ANONYMOUS) gg.clearResults() gg.searchNumber(":CombatAnimal.AI.BehaviorDesigner.CustomTasks.PlayerWithinDistance", gg.TYPE_BYTE) gg.getResults(gg.getResultCount()) gg.editAll("1", gg.TYPE_BYTE) gg.clearResults() elseif menu == 3 then gg.toast("πŸ” Scanning skill Buff signature...") patchedCount = 0 -- reset setiap kali mulai patch gg.setRanges(gg.REGION_OTHER) gg.clearResults() gg.searchNumber(scanTemplate.className, gg.TYPE_BYTE) local result = gg.getResults(1) gg.clearResults() if #result == 0 then gg.toast("❌ Skill signature not found.") scriptTitle = "⚑ Buff Skill" else local baseAddr = result[1].address gg.toast("βœ… Signature found at 0x" .. string.format("%X", baseAddr)) gg.toast("πŸ”— Resolving skill pointer chain...") gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber(baseAddr, gg.TYPE_QWORD) local resPtr = gg.getResults(1) gg.clearResults() if #resPtr == 0 then gg.toast("❌ Pointer not found.") scriptTitle = "⚑ Buff Skill" else local ptrAddr = resPtr[1].address + 0x8 local val = gg.getValues({{address = ptrAddr, flags = gg.TYPE_QWORD}})[1].value gg.searchNumber(val, gg.TYPE_QWORD) local found = gg.getResults(gg.getResultsCount()) gg.toast("βœ… Skill pointer resolved (" .. #found .. " results)") if #found > 0 then local results = {} for _, p in ipairs(found) do for _, off in ipairs(scanTemplate.offsets) do table.insert(results, { address = p.address + off, flags = scanTemplate.valueType }) end end if #results == 0 then gg.toast("❌ No offset found for Buff Skill.") scriptTitle = "⚑ Buff Skill" else gg.loadResults(results) gg.toast("βš™οΈ Refining valid skill values...") gg.refineNumber("200~65000;200~65000::9", scanTemplate.valueType) gg.sleep(200) gg.refineNumber("0x2", scanTemplate.valueType) local refined = gg.getResults(gg.getResultsCount()) if #refined == 0 then gg.toast("⚠️ No matching skill values.") scriptTitle = "⚑ Buff Skill" else gg.toast("πŸ’‰ Boosting " .. #refined .. " skill addresses...") local patched = {} for _, v in ipairs(refined) do table.insert(patched, { address = v.address, flags = scanTemplate.valueType, value = scanTemplate.newValue .. "+x2" }) end gg.setValues(patched) patchedCount = #patched gg.toast("⚑ Buff Applied! (" .. patchedCount .. " patched)") scriptTitle = "⚑ Buff Skill" end gg.clearResults() end end end end elseif menu == 4 then notify("πŸ‘‹ Script exited") os.exit() end end gg.sleep(100) end