Advertisement
cnsnipermike

SK

Jan 12th, 2025 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. gg.require('101.1', 16142)
  2. local checkTarget = 2
  3. local targetName = [=====[Soul Knight]=====]
  4. local targetPkg = 'com.ChillyRoom.DungeonShooter'
  5. local targetVersion = [=====[7.0.0]=====]
  6. local targetBuild = 70000
  7. if checkTarget ~= 0 then
  8. local info = gg.getTargetInfo()
  9. local check = false
  10. local current = false
  11. if checkTarget >= 1 then
  12. check = targetPkg
  13. current = info.packageName
  14. end
  15. if checkTarget >= 2 then
  16. check = check..' '..targetVersion..' ('..targetBuild..')'
  17. current = current..' '..info.versionName..' ('..info.versionCode..')'
  18. end
  19. if check ~= current then
  20. gg.alert('This script for \n"'..targetName..'" ['..check..'].\n\nYou select \n"'..info.label..'" ['..current..'].')
  21. os.exit()
  22. end
  23. end
  24. local revert = nil
  25. gg.clearResults()
  26. if gg.getTargetInfo()["x64"] then
  27. local Ranges=gg.getRangesList('/')
  28. local function Read(module,type)
  29. for k,v in pairs(Ranges) do
  30. if v['internalName']:match('[^/]*$')==module and v['type']==type then
  31. return v['start']
  32. end
  33. end
  34. end
  35. local Table={}
  36. local function Modify(address,value,flags)
  37. Table[#Table+1]={address=address,value=value,flags=flags}
  38. end
  39. function A000()
  40. AA = gg.multiChoice({
  41. "UL energy",
  42. "god mode",
  43. "attack speed",
  44. "speed hack",
  45. "instant kill",
  46. "exit",
  47. },nil,(([[
  48. updated code for version 7.0.0
  49. last updated:Mon 04 Mar 2025
  50. update log:fixed bug instant kill
  51. ]])))
  52. if AA == nil then
  53. else
  54. if AA[1] == true then A100() end
  55. if AA[2] == true then A200() end
  56. if AA[3] == true then A300() end
  57. if AA[4] == true then A400() end
  58. if AA[5] == true then A500() end
  59. if AA[6] == true then Exit() end
  60. end
  61. FMXR = -1
  62. end
  63. function A100()
  64. NL = gg.multiChoice({
  65. "ON",
  66. "OFF",
  67. "Previous Menu",
  68. },nil,(([[
  69. UL Energy
  70. ]])))
  71. if NL == nil then
  72. else
  73. if NL[1] == true then A101() end
  74. if NL[2] == true then A102() end
  75. if NL[3] == true then A000() end
  76. end
  77. FMXR = -1
  78. end
  79. function A101()
  80. Modify(Read('libil2cpp.so','r-xp')+0x20BFAA4,'~A8 MOV W0, #0x3E7',4)
  81. gg.setValues(Table)
  82. gg.toast("Activated")
  83. end
  84. function A102()
  85. Modify(Read('libil2cpp.so','r-xp')+0x20BFAA4,'~A8 LDR W0, [X19,#0x14C]',4)
  86. gg.setValues(Table)
  87. gg.toast("Deactivated")
  88. end
  89. function A200()
  90. HJ = gg.multiChoice({
  91. "ON",
  92. "OFF",
  93. "Previous Menu",
  94. },nil,(([[
  95. God Mode
  96. ]])))
  97. if HJ == nil then
  98. else
  99. if HJ[1] == true then A201() end
  100. if HJ[2] == true then A202() end
  101. if HJ[3] == true then A000() end
  102. end
  103. FMXR = -1
  104. end
  105. function A201()
  106. Modify(Read('libil2cpp.so','r-xp')+0x20C3578,'~A8 MOV W25, #0x3E7',4)
  107. Modify(Read('libil2cpp.so','r-xp')+0x174A12C,'~A8 MOV W0, #0x3E7',4)
  108. gg.setValues(Table)
  109. gg.toast("Activated")
  110. end
  111. function A202()
  112. Modify(Read('libil2cpp.so','r-xp')+0x20C3578,'~A8 LDR W25, [X19,#0x144]',4)
  113. Modify(Read('libil2cpp.so','r-xp')+0x174A12C,'~A8 LDR W0, [X8,#0xCC]',4)
  114. gg.setValues(Table)
  115. gg.toast("Deactivated")
  116. end
  117. function A300()
  118. GS = gg.multiChoice({
  119. "ON",
  120. "OFF",
  121. "Previous Menu",
  122. },nil,(([[
  123. Attack Speed
  124. ]])))
  125. if GS == nil then
  126. else
  127. if GS[1] == true then A301() end
  128. if GS[2] == true then A302() end
  129. if GS[3] == true then A000() end
  130. end
  131. FMXR = -1
  132. end
  133. function A301()
  134. Modify(Read('libil2cpp.so','r-xp')+0x1749130,'~A8 FMOV S0, #0x41F00000',4)
  135. gg.setValues(Table)
  136. gg.toast("Activated")
  137. end
  138. function A302()
  139. Modify(Read('libil2cpp.so','r-xp')+0x1749130,'~A8 LDR S0, [X8,#0x104]',4)
  140. gg.setValues(Table)
  141. gg.toast("Deactivated")
  142. end
  143. function A400()
  144. JS = gg.multiChoice({
  145. "0.5(OFF)",
  146. "1x",
  147. "2x",
  148. "3x",
  149. "4x",
  150. "5x",
  151. "Ultra Speed",
  152. "Previous Menu",
  153. },nil,(([[
  154. Speed Hack
  155. ]])))
  156. if JS == nil then
  157. else
  158. if JS[1] == true then A401() end
  159. if JS[2] == true then A402() end
  160. if JS[3] == true then A403() end
  161. if JS[4] == true then A404() end
  162. if JS[5] == true then A405() end
  163. if JS[6] == true then A406() end
  164. if JS[7] == true then A407() end
  165. if JS[8] == true then A000() end
  166. end
  167. FMXR = -1
  168. end
  169. function A401()
  170. Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 LDR S1, [X19,#0xB0]',4)
  171. gg.setValues(Table)
  172. gg.toast("Deactivated")
  173. end
  174. function A402()
  175. Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x3F800000',4)
  176. gg.setValues(Table)
  177. gg.toast("Activated")
  178. end
  179. function A403()
  180. Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40000000',4)
  181. gg.setValues(Table)
  182. gg.toast("Activated")
  183. end
  184. function A404()
  185. Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40400000',4)
  186. gg.setValues(Table)
  187. gg.toast("Activated")
  188. end
  189. function A405()
  190. Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40800000',4)
  191. gg.setValues(Table)
  192. gg.toast("Activated")
  193. end
  194. function A406()
  195. Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x40A00000',4)
  196. gg.setValues(Table)
  197. gg.toast("Activated")
  198. end
  199. function A407()
  200. Modify(Read('libil2cpp.so','r-xp')+0x20BCC70,'~A8 FMOV S1, #0x41F00000',4)
  201. gg.setValues(Table)
  202. gg.toast("Activated")
  203. end
  204. function A500()
  205. IK = gg.multiChoice({
  206. "ON",
  207. "OFF",
  208. "Previous Menu",
  209. },nil,(([[
  210. Instant Kill
  211. ]])))
  212. if IK == nil then
  213. else
  214. if IK[1] == true then A501() end
  215. if IK[2] == true then A502() end
  216. if IK[3] == true then A000() end
  217. end
  218. FMXR = -1
  219. end
  220. function A501()
  221. Modify(Read('libil2cpp.so','r-xp')+0x1F0B0B8,1384120330,4)
  222. gg.setValues(Table)
  223. gg.toast("Activated")
  224. end
  225. function A502()
  226. Modify(Read('libil2cpp.so','r-xp')+0x1F0B0B8,'~A8 LDR W10, [X8,#0xCC]',4)
  227. gg.setValues(Table)
  228. gg.toast("Deactivated")
  229. end
  230. function Exit()
  231. gg.toast("Script Ended")
  232. while true do
  233. print([[
  234. ]])
  235. os.exit()
  236. end
  237. end
  238. while true do
  239. gg.sleep(500)
  240. if gg.isVisible(true) then
  241. FMXR = 1
  242. gg.setVisible(false)
  243. end
  244. if FMXR == 1 then
  245. A000()
  246. end
  247. end
  248. else
  249. gg.alert("( 32BIT ) SOUL KNIGHT not supported\nPlease Install ( 64BIT ) SOUL KNIGHT and try again")
  250. print([[
  251. Credit:Telegram@fmxr044
  252. ]])
  253. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement