Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Main()
- local LVS = gg.choice({
- "➼ 1. DẠNG CHOICE",
- "➼ 2. DẠNG MULTICHOICE",
- "➼ 3. DẠNG ON/OFF",
- "➼ 4. DẠNG NGẮN GỌN",
- "➼ 5. DẠNG PROMPT",
- "➼ 6. CODE MẬT KHẨU",
- "➼ 7. CÁC LỆNH CƠ BẢN",
- "➼ 8. DANH SÁCH BỘ NHỚ",
- "➼ 9. LOẠI TÌM KIẾM",
- "➼ 10. MÃ LOADING",
- "➼ 11. TÀI KHOẢN+MẬT KHẨU",
- "➼ 12. EDIT [CÙNG ĐỊA TRỊ]",
- "➼ 13. EDIT [CÁCH 4 BYTE]",
- "➼ THOÁT"
- }, nil, "CHỌN DẠNG MENU BY THÀNH DANH")
- if LVS == nil then return end
- if LVS == 1 then dang1() end
- if LVS == 2 then dang2() end
- if LVS == 3 then dang3() end
- if LVS == 4 then dang4() end
- if LVS == 5 then dang5() end
- if LVS == 6 then dang6() end
- if LVS == 7 then dang7() end
- if LVS == 8 then dang8() end
- if LVS == 9 then dang9() end
- if LVS == 10 then dang10() end
- if LVS == 11 then dang11() end
- if LVS == 12 then dang12() end
- if LVS == 13 then dang13() end
- if LVS == 14 then os.exit() end
- end
- function taoFile(ten, noidung)
- local duongdan = "/storage/emulated/0/Download/" .. ten .. ".txt"
- local file = io.open(duongdan, "w")
- file:write("CODE CỦA BẠN LÀ\n\n")
- file:write(noidung)
- file:close()
- gg.toast("Đã lưu: " .. duongdan)
- end
- function dang1()
- taoFile("DANG_CHOICE", [[
- function Main()
- LVS = gg.choice({
- "CHỨC NĂNG1",
- "CHỨC NĂNG2",
- "CHỨC NĂNG3",
- "CHỨC NĂNG4",
- "THOÁT"
- }, nil,"Tiêu đề menu")
- if HQV == nil then else
- if LVS[1] == true then suu1() end
- if LVS[2] == true then suu2() end
- if LVS[3] == true then suu3() end
- if LVS[4] == true then suu4() end
- if LVS[5] == true then suu5() end
- end
- XGCK = -1
- end
- function suu1()
- end
- function suu2()
- end
- function suu3()
- end
- function suu4()
- end
- function suu5()
- os.exit()
- end
- while true do
- if gg.isVisible(true) then
- XGCK = 1
- gg.setVisible(false)
- end
- gg.clearResults()
- if XGCK == 1 then Main() end
- end
- ]])
- end
- function dang2()
- taoFile("DANG_MULTICHOICE", [[
- function Main()
- LVS = gg.multiChoice({
- "CHỨC NĂNG1",
- "CHỨC NĂNG2",
- "CHỨC NĂNG3",
- "CHỨC NĂNG4",
- "THOÁT"
- }, nil,"Tiêu đề menu")
- if LVS == nil then else
- if LVS[1] == true then suu1() end
- if LVS[2] == true then suu2() end
- if LVS[3] == true then suu3() end
- if LVS[4] == true then suu4() end
- if LVS[5] == true then suu5() end
- end
- XGCK = -1
- end
- function suu1()
- end
- function suu2()
- end
- function suu3()
- end
- function suu4()
- end
- function suu5()
- os.exit()
- end
- while true do
- if gg.isVisible(true) then
- XGCK = 1
- gg.setVisible(false)
- end
- gg.clearResults()
- if XGCK == 1 then Main() end
- end
- ]])
- end
- function dang3()
- taoFile("DANG_ON_OFF", [[
- function Main()
- LVS = gg.multiChoice({
- A .." CHỨC NĂNG 1 ",
- B .. " CHỨC NĂNG 2 ",
- " Thoát "},nil,"Youtube:long script")
- if LVS == nil then else
- if LVS[1] == true then suu1() end
- if LVS[2] == true then suu2() end
- if LVS[3] == true then Exit() end
- end
- XGCK = -1
- end
- A ="【O F F】"
- function suu1()
- if A == "【O F F】" then
- A = "【O N】"
- elseif A == "【O N】" then
- A ="【O F F】"
- end
- end
- B ="【O F F】"
- function suu2()
- if B == "【O F F】" then
- B = "【O N】"
- elseif B == "【O N】" then
- B ="【O F F】"
- end
- end
- function Exit()
- os.exit()
- end
- while true do
- if gg.isVisible(true) then
- XGCK = 1
- gg.setVisible(false)
- end
- if XGCK == 1 then Main() end
- end
- ]])
- end
- function dang4()
- taoFile("DANG_NGAN_GON", [[
- if gg.isVisible(true) then
- gg.setVisible(false)
- ::menuhack::
- gg.alert('Làm bởi ai (thông báo cửa sổ)')
- gg.toast('Lời xin chào (thông báo thường)')
- muonchon = {'Menu 1','Menu 2','thoát menu'}
- luachon = gg.choice(muonchon,nil, 'Điêu đề menu')
- if luachon == 1 then goto a end
- if luachon == 2 then goto b end
- if luachon == 3 then goto c end
- if luachon == nil then goto c end
- ::a::
- gg.alert('làm bởi ai.')
- goto menuhack
- ::b::
- gg.alert('làm bởi ai.')
- goto menuhack
- ::c::
- gg.alert('Bản quyền thuộc về ai đó')
- os.exit()
- end
- ]])
- end
- function dang5()
- taoFile("DANG_PROMPT", [[
- function MENU()
- LVS = gg.prompt({
- "MENU 1",
- "MENU 2",
- "MENU 3",
- "MENU 4",
- "MENU 5",
- "EXIT "},{},{
- "checkbox",
- "checkbox",
- "checkbox",
- "checkbox",
- "checkbox",
- "checkbox"})
- if LVS == nil suu else
- if LVS[1] == true then
- end
- if LVS[2] == true then
- end
- if LVS[3] == true then
- end
- if LVS[4] == true then
- end
- if LVS[5] == true then
- end
- if LVS[6] == true then
- gg.setVisible(true)
- os.exit()
- end
- end
- TES=0
- end
- while true do s = os.date("%X %p %A, %d %B %Y")
- if gg.isVisible (true) then
- TES = nil
- gg.setVisible (false) end
- if TES == nil then
- MENU() end
- end
- ]])
- end
- function dang6()
- taoFile("DANG_MAT_KHAU", [[
- Password = '123'
- PS = gg.prompt({'🔒Nhập PASSWORD'},{[1]=''},{[1]='number'})
- if not PS then os.exit() end
- if PS[1] == Password then
- gg.toast('✔️ Nhập PASSWORD Thành Công')
- else
- gg.alert('❌ Sai PASSWORD ') os.exit() end
- ]])
- end
- function dang7()
- taoFile("DANG_LENH_CO_BAN", [[
- ::a::
- ---------------------------------------------------------
- function a0()
- ---------------------------------------------------------
- gg.clearResults()
- ---------------------------------------------------------
- gg.setVisible(false)
- ---------------------------------------------------------
- gg.setRanges(gg.REGION_PHẠM_VI_BỘ_NHỚ)
- ---------------------------------------------------------
- gg.searchNumber("0;0;0",gg.TYPE__LOẠI_TÌM_KIẾM, false, gg.SIGN_EQUAL, 0, -1)
- ---------------------------------------------------------
- gg.searchNumber("0",gg.TYPE__LOẠI_TÌM_KIẾM, false, gg.SIGN_EQUAL, 0, -1)
- ---------------------------------------------------------
- gg.getResults(0)
- ---------------------------------------------------------
- gg.editAll("0000", gg.TYPE_LOẠI_TÌM_KIẾM)
- ---------------------------------------------------------
- gg.clearResults()
- ---------------------------------------------------------
- gg.alert("Nội dung")
- ---------------------------------------------------------
- gg.toast("Nội dung")
- ---------------------------------------------------------
- end
- ]])
- end
- function dang8()
- taoFile("DANG_BO_NHO", [[
- gg.REGION_JAVA_HEAP
- gg.REGION_C_HEAP
- gg.REGION_C_ALLOC
- gg.REGION_C_DATA
- gg.REGION_C_BSS
- gg.REGION_PPSSPP
- gg.REGION_ANONYMOUS
- gg.REGION_JAVA
- gg.REGION_STACK
- gg.REGION_ASHMEM
- gg.REGION_OTHER
- gg.REGION_BAD
- gg.REGION_CODE_APP
- gg.REGION_CODE_SYS
- ]])
- end
- function dang9()
- taoFile("DANG_LOAI_TIM_KIEM", [[
- gg.TYPE_AUTO
- gg.TYPE_DWORD
- gg.TYPE_FLOAT
- gg.TYPE_DOUBLE
- gg.TYPE_WORD
- gg.TYPE_BYTE
- gg.TYPE_QWORD
- gg.TYPE_XOR
- ]])
- end
- function dang10()
- taoFile("DANG_LOADING", [[
- gg.toast("【 ■□□□□□□□□□ 】10%")
- gg.sleep(200)
- gg.toast("【 ■■□□□□□□□□ 】20%")
- gg.sleep(200)
- gg.toast("【 ■■■□□□□□□□ 】30%")
- gg.sleep(200)
- gg.toast("【 ■■■■□□□□□□ 】40%")
- gg.sleep(200)
- gg.toast("【 ■■■■■□□□□□ 】50%")
- gg.sleep(200)
- gg.toast("【 ■■■■■■□□□□ 】60%")
- gg.sleep(200)
- gg.toast("【 ■■■■■■■□□□ 】70%")
- gg.sleep(200)
- gg.toast("【 ■■■■■■■■□□ 】80%")
- gg.sleep(200)
- gg.toast("【 ■■■■■■■■■□ 】90%")
- gg.sleep(200)
- gg.toast("【 ■■■■■■■■■■ 】100%")
- gg.sleep(100)
- ]])
- end
- function dang11()
- taoFile("DANG_TAIKHOAN", [[
- local Viet = gg.prompt(
- {"🕵️ TÀI KHOẢN", "🔐 MẬT KHẨU"}, nil, {"text", "text"})
- if not Viet then return end
- if Viet[1] == "Suu Van" and Viet[2] == "2009" then
- gg.toast("✅ ĐĂNG NHẬP THÀNH CÔNG!")
- else
- gg.alert("❌ SAI TÀI KHOẢN HOẶC MẬT KHẨU!")
- os.exit()
- end
- ]])
- end
- function dang12()
- taoFile("DANG_EDIT_CUNGDIATRI", [[
- gg.clearResults()
- gg.setRanges(gg.REGION_BỘ_NHỚ)
- gg.searchNumber("VALUE", gg.TYPE_DẠNG_TÌM_KIẾM)
- local r = gg.getResults(1)
- if #r == 0 then
- gg.alert("❌ KHÔNG TÌM THẤY GIÁ TRỊ!")
- return
- end
- local input = gg.prompt({"💬 NHẬP GIÁ TRỊ:"}, {"2.0"}, {"number"})
- if not input or not tonumber(input[1]) then
- gg.alert("⚠️ DỮ LIỆU KHÔNG HỢP LỆ!")
- return
- end
- gg.setValues({
- {address = r[1].address, flags = gg.TYPE_DẠNG_EDIT, value = input[1]}
- })
- ]])
- end
- function dang13()
- taoFile("DANG_EDIT_4BYTE", [[
- gg.clearResults()
- gg.setRanges(gg.REGION_BỘ_NHỚ)
- gg.searchNumber("VALUE", gg.TYPE_DẠNG_TÌM_KIẾM)
- local r = gg.getResults(1)
- if #r == 0 then
- gg.alert("❌ KHÔNG TÌM THẤY GIÁ TRỊ!")
- return
- end
- local input = gg.prompt({"💬 NHẬP GIÁ TRỊ:"}, {"2.0"}, {"number"})
- if not input or not tonumber(input[1]) then
- gg.alert("⚠️ DỮ LIỆU KHÔNG HỢP LỆ!")
- return
- end
- local editOffset = 4
- gg.setValues({
- {address = r[1].address + editOffset, flags = gg.DẠNG_EDIT, value = input[1]}
- })
- ]])
- end
- while true do
- if gg.isVisible(true) then
- gg.setVisible(false)
- Main()
- end
- gg.sleep(100)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement