Advertisement
TDanh

Untitled

Apr 4th, 2025 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 9.00 KB | Source Code | 0 0
  1. function Main()
  2.   local LVS = gg.choice({
  3.   "➼ 1. DẠNG CHOICE",
  4.   "➼ 2. DẠNG MULTICHOICE",
  5.   "➼ 3. DẠNG ON/OFF",
  6.   "➼ 4. DẠNG NGẮN GỌN",
  7.   "➼ 5. DẠNG PROMPT",
  8.   "➼ 6. CODE MẬT KHẨU",
  9.   "➼ 7. CÁC LỆNH CƠ BẢN",
  10.   "➼ 8. DANH SÁCH BỘ NHỚ",
  11.   "➼ 9. LOẠI TÌM KIẾM",
  12.   "➼ 10. MÃ LOADING",
  13.   "➼ 11. TÀI KHOẢN+MẬT KHẨU",
  14.   "➼ 12. EDIT [CÙNG ĐỊA TRỊ]",
  15.   "➼ 13. EDIT [CÁCH 4 BYTE]",
  16.   "➼ THOÁT"
  17.   }, nil, "CHỌN DẠNG MENU BY THÀNH DANH")
  18.   if LVS == nil then return end
  19.   if LVS == 1 then dang1() end
  20.   if LVS == 2 then dang2() end
  21.   if LVS == 3 then dang3() end
  22.   if LVS == 4 then dang4() end
  23.   if LVS == 5 then dang5() end
  24.   if LVS == 6 then dang6() end
  25.   if LVS == 7 then dang7() end
  26.   if LVS == 8 then dang8() end
  27.   if LVS == 9 then dang9() end
  28.   if LVS == 10 then dang10() end
  29.   if LVS == 11 then dang11() end
  30.   if LVS == 12 then dang12() end
  31.   if LVS == 13 then dang13() end
  32.   if LVS == 14 then os.exit() end
  33. end
  34.  
  35. function taoFile(ten, noidung)
  36.   local duongdan = "/storage/emulated/0/Download/" .. ten .. ".txt"
  37.   local file = io.open(duongdan, "w")
  38.   file:write("CODE CỦA BẠN LÀ\n\n")
  39.   file:write(noidung)
  40.   file:close()
  41.   gg.toast("Đã lưu: " .. duongdan)
  42. end
  43.  
  44. function dang1()
  45.   taoFile("DANG_CHOICE", [[
  46. function Main()
  47. LVS = gg.choice({
  48. "CHỨC NĂNG1",
  49. "CHỨC NĂNG2",
  50. "CHỨC NĂNG3",
  51. "CHỨC NĂNG4",
  52. "THOÁT"
  53. }, nil,"Tiêu đề menu")
  54. if HQV == nil then else
  55. if LVS[1] == true then suu1() end
  56. if LVS[2] == true then suu2() end
  57. if LVS[3] == true then suu3() end
  58. if LVS[4] == true then suu4() end
  59. if LVS[5] == true then suu5() end
  60. end
  61. XGCK = -1
  62. end
  63.  
  64. function suu1()
  65. end
  66.  
  67. function suu2()
  68. end
  69.  
  70. function suu3()
  71. end
  72.  
  73. function suu4()
  74. end
  75.  
  76. function suu5()
  77. os.exit()
  78. end
  79. while true do
  80. if gg.isVisible(true) then
  81. XGCK = 1
  82. gg.setVisible(false)
  83. end
  84. gg.clearResults()
  85. if XGCK == 1 then Main() end
  86. end
  87. ]])
  88. end
  89.  
  90. function dang2()
  91.   taoFile("DANG_MULTICHOICE", [[
  92. function Main()
  93. LVS = gg.multiChoice({
  94. "CHỨC NĂNG1",
  95. "CHỨC NĂNG2",
  96. "CHỨC NĂNG3",
  97. "CHỨC NĂNG4",
  98. "THOÁT"
  99. }, nil,"Tiêu đề menu")
  100. if LVS == nil then else
  101. if LVS[1] == true then suu1() end
  102. if LVS[2] == true then suu2() end
  103. if LVS[3] == true then suu3() end
  104. if LVS[4] == true then suu4() end
  105. if LVS[5] == true then suu5() end
  106. end
  107. XGCK = -1
  108. end
  109.  
  110. function suu1()
  111. end
  112.  
  113. function suu2()
  114. end
  115.  
  116. function suu3()
  117. end
  118.  
  119. function suu4()
  120. end
  121.  
  122. function suu5()
  123. os.exit()
  124. end
  125. while true do
  126. if gg.isVisible(true) then
  127. XGCK = 1
  128. gg.setVisible(false)
  129. end
  130. gg.clearResults()
  131. if XGCK == 1 then Main() end
  132. end
  133. ]])
  134. end
  135.  
  136. function dang3()
  137.   taoFile("DANG_ON_OFF", [[
  138. function Main()
  139. LVS = gg.multiChoice({
  140. A .." CHỨC NĂNG 1 ",
  141. B .. " CHỨC NĂNG 2 ",
  142. " Thoát "},nil,"Youtube:long script")
  143. if LVS == nil then else
  144. if LVS[1] == true then suu1() end
  145. if LVS[2] == true then suu2() end
  146. if LVS[3] == true then Exit() end
  147. end
  148. XGCK = -1
  149. end
  150.  
  151. A ="【O F F】"
  152. function suu1()
  153. if A == "【O F F】" then
  154.  
  155. A = "【O N】"
  156. elseif A == "【O N】" then
  157.  
  158. A ="【O F F】"
  159. end
  160. end
  161.  
  162. B ="【O F F】"
  163. function suu2()
  164. if B == "【O F F】" then
  165.  
  166. B = "【O N】"
  167. elseif B == "【O N】" then
  168.  
  169. B ="【O F F】"
  170. end
  171. end
  172.  
  173. function Exit()
  174. os.exit()
  175. end
  176. while true do
  177. if gg.isVisible(true) then
  178. XGCK = 1
  179. gg.setVisible(false)
  180. end
  181. if XGCK == 1 then Main() end
  182. end
  183. ]])
  184. end
  185.  
  186. function dang4()
  187.   taoFile("DANG_NGAN_GON", [[
  188. if gg.isVisible(true) then
  189. gg.setVisible(false)
  190.  
  191. ::menuhack::
  192. gg.alert('Làm bởi ai (thông báo cửa sổ)')
  193. gg.toast('Lời xin chào (thông báo thường)')
  194. muonchon = {'Menu 1','Menu 2','thoát menu'}
  195. luachon = gg.choice(muonchon,nil, 'Điêu đề menu')
  196.  
  197. if luachon == 1 then goto a end
  198. if luachon == 2 then goto b end
  199. if luachon == 3 then goto c end
  200. if luachon == nil then goto c end
  201.  
  202. ::a::
  203.  
  204. gg.alert('làm bởi ai.')
  205. goto menuhack
  206. ::b::
  207.  
  208. gg.alert('làm bởi ai.')
  209. goto menuhack
  210. ::c::
  211. gg.alert('Bản quyền thuộc về ai đó')
  212. os.exit()
  213. end
  214. ]])
  215. end
  216.  
  217. function dang5()
  218.   taoFile("DANG_PROMPT", [[
  219. function MENU()
  220. LVS = gg.prompt({
  221.  "MENU 1",
  222.  "MENU 2",
  223.  "MENU 3",
  224.  "MENU 4",
  225.  "MENU 5",
  226.  "EXIT "},{},{
  227.  
  228. "checkbox",
  229. "checkbox",
  230. "checkbox",
  231. "checkbox",
  232. "checkbox",
  233. "checkbox"})
  234.  
  235. if LVS == nil suu else
  236. if LVS[1] == true then
  237. end
  238.  
  239. if LVS[2] == true then
  240. end
  241.  
  242. if LVS[3] == true then
  243. end
  244.  
  245. if LVS[4] == true then
  246. end
  247.  
  248. if LVS[5] == true then
  249. end
  250.  
  251. if LVS[6] == true then
  252. gg.setVisible(true)
  253. os.exit()
  254. end
  255. end
  256.  
  257. TES=0
  258. end
  259.  
  260.  
  261. while true do s = os.date("%X %p %A, %d %B %Y")
  262. if gg.isVisible (true) then
  263. TES = nil
  264. gg.setVisible (false) end
  265. if TES == nil then
  266. MENU() end
  267. end
  268. ]])
  269. end
  270.  
  271. function dang6()
  272.   taoFile("DANG_MAT_KHAU", [[
  273. Password = '123'
  274. PS = gg.prompt({'🔒Nhập PASSWORD'},{[1]=''},{[1]='number'})
  275. if not PS then os.exit() end
  276. if PS[1] == Password then
  277. gg.toast('✔️ Nhập PASSWORD Thành Công')
  278. else
  279. gg.alert('❌ Sai PASSWORD ') os.exit() end
  280. ]])
  281. end
  282.  
  283. function dang7()
  284.   taoFile("DANG_LENH_CO_BAN", [[
  285. ::a::
  286. ---------------------------------------------------------
  287. function a0()
  288. ---------------------------------------------------------
  289. gg.clearResults()
  290. ---------------------------------------------------------
  291. gg.setVisible(false)
  292. ---------------------------------------------------------
  293. gg.setRanges(gg.REGION_PHẠM_VI_BỘ_NHỚ)
  294. ---------------------------------------------------------
  295. gg.searchNumber("0;0;0",gg.TYPE__LOẠI_TÌM_KIẾM, false, gg.SIGN_EQUAL, 0, -1)
  296. ---------------------------------------------------------
  297. gg.searchNumber("0",gg.TYPE__LOẠI_TÌM_KIẾM, false, gg.SIGN_EQUAL, 0, -1)
  298. ---------------------------------------------------------
  299. gg.getResults(0)
  300. ---------------------------------------------------------
  301. gg.editAll("0000", gg.TYPE_LOẠI_TÌM_KIẾM)
  302. ---------------------------------------------------------
  303. gg.clearResults()
  304. ---------------------------------------------------------
  305. gg.alert("Nội dung")
  306. ---------------------------------------------------------
  307. gg.toast("Nội dung")
  308. ---------------------------------------------------------
  309. end
  310. ]])
  311. end
  312.  
  313. function dang8()
  314.   taoFile("DANG_BO_NHO", [[
  315. gg.REGION_JAVA_HEAP
  316. gg.REGION_C_HEAP
  317. gg.REGION_C_ALLOC
  318. gg.REGION_C_DATA
  319. gg.REGION_C_BSS
  320. gg.REGION_PPSSPP
  321. gg.REGION_ANONYMOUS
  322. gg.REGION_JAVA
  323. gg.REGION_STACK
  324. gg.REGION_ASHMEM
  325. gg.REGION_OTHER
  326. gg.REGION_BAD
  327. gg.REGION_CODE_APP
  328. gg.REGION_CODE_SYS
  329. ]])
  330. end
  331.  
  332. function dang9()
  333.   taoFile("DANG_LOAI_TIM_KIEM", [[
  334. gg.TYPE_AUTO
  335. gg.TYPE_DWORD
  336. gg.TYPE_FLOAT
  337. gg.TYPE_DOUBLE
  338. gg.TYPE_WORD
  339. gg.TYPE_BYTE
  340. gg.TYPE_QWORD
  341. gg.TYPE_XOR
  342. ]])
  343. end
  344.  
  345. function dang10()
  346.   taoFile("DANG_LOADING", [[
  347. gg.toast("【 ■□□□□□□□□□ 】10%")
  348. gg.sleep(200)
  349. gg.toast("【 ■■□□□□□□□□ 】20%")
  350. gg.sleep(200)
  351. gg.toast("【 ■■■□□□□□□□ 】30%")
  352. gg.sleep(200)
  353. gg.toast("【 ■■■■□□□□□□ 】40%")
  354. gg.sleep(200)
  355. gg.toast("【 ■■■■■□□□□□ 】50%")
  356. gg.sleep(200)
  357. gg.toast("【 ■■■■■■□□□□ 】60%")
  358. gg.sleep(200)
  359. gg.toast("【 ■■■■■■■□□□ 】70%")
  360. gg.sleep(200)
  361. gg.toast("【 ■■■■■■■■□□ 】80%")
  362. gg.sleep(200)
  363. gg.toast("【 ■■■■■■■■■□ 】90%")
  364. gg.sleep(200)
  365. gg.toast("【 ■■■■■■■■■■ 】100%")
  366. gg.sleep(100)
  367. ]])
  368. end
  369.  
  370. function dang11()
  371.   taoFile("DANG_TAIKHOAN", [[
  372. local Viet = gg.prompt(
  373.   {"🕵️ TÀI KHOẢN", "🔐 MẬT KHẨU"}, nil, {"text", "text"})
  374.  
  375. if not Viet then return end
  376.  
  377. if Viet[1] == "Suu Van" and Viet[2] == "2009" then
  378.   gg.toast("✅ ĐĂNG NHẬP THÀNH CÔNG!")
  379. else
  380.   gg.alert("❌ SAI TÀI KHOẢN HOẶC MẬT KHẨU!")
  381.   os.exit()
  382. end
  383. ]])
  384. end
  385.  
  386. function dang12()
  387.   taoFile("DANG_EDIT_CUNGDIATRI", [[
  388. gg.clearResults()
  389. gg.setRanges(gg.REGION_BỘ_NHỚ)
  390. gg.searchNumber("VALUE", gg.TYPE_DẠNG_TÌM_KIẾM)
  391. local r = gg.getResults(1)
  392.  
  393. if #r == 0 then
  394.     gg.alert("❌ KHÔNG TÌM THẤY GIÁ TRỊ!")
  395.     return
  396. end
  397.  
  398. local input = gg.prompt({"💬 NHẬP GIÁ TRỊ:"}, {"2.0"}, {"number"})
  399. if not input or not tonumber(input[1]) then
  400.     gg.alert("⚠️ DỮ LIỆU KHÔNG HỢP LỆ!")
  401.     return
  402. end
  403.  
  404. gg.setValues({
  405.     {address = r[1].address, flags = gg.TYPE_DẠNG_EDIT, value = input[1]}
  406. })
  407. ]])
  408. end
  409.  
  410. function dang13()
  411.   taoFile("DANG_EDIT_4BYTE", [[
  412. gg.clearResults()
  413. gg.setRanges(gg.REGION_BỘ_NHỚ)
  414. gg.searchNumber("VALUE", gg.TYPE_DẠNG_TÌM_KIẾM)
  415. local r = gg.getResults(1)
  416.  
  417. if #r == 0 then
  418.     gg.alert("❌ KHÔNG TÌM THẤY GIÁ TRỊ!")
  419.     return
  420. end
  421.  
  422. local input = gg.prompt({"💬 NHẬP GIÁ TRỊ:"}, {"2.0"}, {"number"})
  423. if not input or not tonumber(input[1]) then
  424.     gg.alert("⚠️ DỮ LIỆU KHÔNG HỢP LỆ!")
  425.     return
  426. end
  427.  
  428. local editOffset = 4
  429. gg.setValues({
  430.     {address = r[1].address + editOffset, flags = gg.DẠNG_EDIT, value = input[1]}
  431. })
  432. ]])
  433. end
  434.  
  435. while true do
  436.   if gg.isVisible(true) then
  437.     gg.setVisible(false)
  438.     Main()
  439.   end
  440.   gg.sleep(100)
  441. end
Tags: Script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement