Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gg.require('101.1', 16142)
- local checkTarget = 2
- local targetName = [=====[Soul Knight]=====]
- local targetPkg = 'com.ChillyRoom.DungeonShooter'
- local targetVersion = [=====[7.0.0]=====]
- local targetBuild = 70000
- if checkTarget ~= 0 then
- local info = gg.getTargetInfo()
- local check = false
- local current = false
- if checkTarget >= 1 then
- check = targetPkg
- current = info.packageName
- end
- if checkTarget >= 2 then
- check = check..' '..targetVersion..' ('..targetBuild..')'
- current = current..' '..info.versionName..' ('..info.versionCode..')'
- end
- if check ~= current then
- gg.alert('This script for \n"'..targetName..'" ['..check..'].\n\nYou select \n"'..info.label..'" ['..current..'].')
- os.exit()
- end
- end
- local revert = nil
- gg.clearResults()
- if gg.getTargetInfo()["x64"] then
- local Ranges=gg.getRangesList('/')
- local function Read(module,type)
- for k,v in pairs(Ranges) do
- if v['internalName']:match('[^/]*$')==module and v['type']==type then
- return v['start']
- end
- end
- end
- local Table={}
- local function Modify(address,value,flags)
- Table[#Table+1]={address=address,value=value,flags=flags}
- end
- function A000()
- AA = gg.multiChoice({
- "UL energy",
- "god mode",
- "attack speed",
- "speed hack",
- "instant kill",
- "exit",
- },nil,(([[
- updated code for version 7.0.0
- last updated:Mon 04 Mar 2025
- update log:fixed bug instant kill
- ]])))
- if AA == nil then
- else
- if AA[1] == true then A100() end
- if AA[2] == true then A200() end
- if AA[3] == true then A300() end
- if AA[4] == true then A400() end
- if AA[5] == true then A500() end
- if AA[6] == true then Exit() end
- end
- FMXR = -1
- end
- function A100()
- NL = gg.multiChoice({
- "ON",
- "OFF",
- "Previous Menu",
- },nil,(([[
- UL Energy
- ]])))
- if NL == nil then
- else
- if NL[1] == true then A101() end
- if NL[2] == true then A102() end
- if NL[3] == true then A000() end
- end
- FMXR = -1
- end
- function A101()
- Modify(Read('libil2cpp.so','r-xp')+0x20BFAA4,'~A8 MOV W0, #0x3E7',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A102()
- Modify(Read('libil2cpp.so','r-xp')+0x20BFAA4,'~A8 LDR W0, [X19,#0x14C]',4)
- gg.setValues(Table)
- gg.toast("Deactivated")
- end
- function A200()
- HJ = gg.multiChoice({
- "ON",
- "OFF",
- "Previous Menu",
- },nil,(([[
- God Mode
- ]])))
- if HJ == nil then
- else
- if HJ[1] == true then A201() end
- if HJ[2] == true then A202() end
- if HJ[3] == true then A000() end
- end
- FMXR = -1
- end
- function A201()
- Modify(Read('libil2cpp.so','r-xp')+0x20C3578,'~A8 MOV W25, #0x3E7',4)
- Modify(Read('libil2cpp.so','r-xp')+0x174A12C,'~A8 MOV W0, #0x3E7',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A202()
- Modify(Read('libil2cpp.so','r-xp')+0x20C3578,'~A8 LDR W25, [X19,#0x144]',4)
- Modify(Read('libil2cpp.so','r-xp')+0x174A12C,'~A8 LDR W0, [X8,#0xCC]',4)
- gg.setValues(Table)
- gg.toast("Deactivated")
- end
- function A300()
- GS = gg.multiChoice({
- "ON",
- "OFF",
- "Previous Menu",
- },nil,(([[
- Attack Speed
- ]])))
- if GS == nil then
- else
- if GS[1] == true then A301() end
- if GS[2] == true then A302() end
- if GS[3] == true then A000() end
- end
- FMXR = -1
- end
- function A301()
- Modify(Read('libil2cpp.so','r-xp')+0x1749130,'~A8 FMOV S0, #0x41F00000',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A302()
- Modify(Read('libil2cpp.so','r-xp')+0x1749130,'~A8 LDR S0, [X8,#0x104]',4)
- gg.setValues(Table)
- gg.toast("Deactivated")
- end
- function A400()
- JS = gg.multiChoice({
- "0.5(OFF)",
- "1x",
- "2x",
- "3x",
- "4x",
- "5x",
- "Ultra Speed",
- "Previous Menu",
- },nil,(([[
- Speed Hack
- ]])))
- if JS == nil then
- else
- if JS[1] == true then A401() end
- if JS[2] == true then A402() end
- if JS[3] == true then A403() end
- if JS[4] == true then A404() end
- if JS[5] == true then A405() end
- if JS[6] == true then A406() end
- if JS[7] == true then A407() end
- if JS[8] == true then A000() end
- end
- FMXR = -1
- end
- function A401()
- Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 LDR S1, [X19,#0xB0]',4)
- gg.setValues(Table)
- gg.toast("Deactivated")
- end
- function A402()
- Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x3F800000',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A403()
- Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40000000',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A404()
- Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40400000',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A405()
- Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40800000',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A406()
- Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40A00000',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A407()
- Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x41F00000',4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A500()
- IK = gg.multiChoice({
- "ON",
- "OFF",
- "Previous Menu",
- },nil,(([[
- Instant Kill
- ]])))
- if IK == nil then
- else
- if IK[1] == true then A501() end
- if IK[2] == true then A502() end
- if IK[3] == true then A000() end
- end
- FMXR = -1
- end
- function A501()
- Modify(Read('libil2cpp.so','r-xp')+0x1F0B0B8,1384120330,4)
- gg.setValues(Table)
- gg.toast("Activated")
- end
- function A502()
- Modify(Read('libil2cpp.so','r-xp')+0x1F0B0B8,'~A8 LDR W10, [X8,#0xCC]',4)
- gg.setValues(Table)
- gg.toast("Deactivated")
- end
- function Exit()
- gg.toast("Script Ended")
- while true do
- print([[
- ]])
- os.exit()
- end
- end
- while true do
- gg.sleep(500)
- if gg.isVisible(true) then
- FMXR = 1
- gg.setVisible(false)
- end
- if FMXR == 1 then
- A000()
- end
- end
- else
- gg.alert("( 32BIT ) SOUL KNIGHT not supported\nPlease Install ( 64BIT ) SOUL KNIGHT and try again")
- print([[
- Credit:Telegram@fmxr044
- ]])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement