sunGG = gg
sunGG.setVisible(false)
function SunLib(Lib, Offset, Replaced) local info = gg.getTargetInfo() localpack = info.nativeLibraryDir local t = gg.getRangesList(localpack..'/lib'..Lib..'.so') for _, __ in pairs(t) do local t = gg.getValues({{address = __.start, flags = gg.TYPE_DWORD}, {address = __.start + 18, flags = gg.TYPE_WORD}}) if t[1].value == 1179403647 then Offset = __['start'] + Offset end assert(Offset ~= nil, '[rwmem]: error, provided address is nil.') _rw = {} if type(Replaced) == 'number' then _ = '' for _ = 1, Replaced do _rw[_] = {address = (Offset - 1) + _, flags = gg.TYPE_BYTE} end for v, __ in ipairs(gg.getValues(_rw)) do _ = _ .. string.format('%02X', __.value & 255) end return _ end Byte = {} Replaced:gsub('..', function(x) Byte[#Byte + 1] = x _rw[#Byte] = {address = (Offset - 1) + #Byte, flags = gg.TYPE_BYTE, value = x .. 'h'} end) gg.setValues(_rw) end end 
function Sun(c, d) sunGG.clearResults() sunGG.setRanges(32) sunGG.searchNumber(c, 1) sunGG.setVisible(false) sunGG.getResults(1000)sunGG.editAll(d, 1) sunGG.setVisible(false)sunGG.clearResults() end
b = ([[
22105
Var #865FA8FC|865fa8fc|10|43960000|0|0|0|0|r-xp|/data/app/com.dts.freefireth/lib/libil2cpp.so|a238fc
]])
  fileData = sunGG.EXT_STORAGE .. "/[#sun].dat"
  io.output(fileData):write(b):close()
  sunGG.loadList(fileData, sunGG.LOAD_APPEND)
  sunGG.clearList()
  os.remove(fileData)
sunGG.clearResults()
sunGG.setVisible(false)
sunGG.toast("Hack Antiban On")
on = "ON"
off = "OFF"
main = {
" [ Menu Hack Antiban FF 1.90.X ]",
" [ 👻Load Tàn Hình [Bật Cuối]",
" [ 👻Load Tàn Hình Fly [Bật Cuối]",
" [ 🐤Load Jump Fly [Bật Cuối]",
" [ ⚡Load Xe Dịch Chuyển [Bật Cuối]",
" [ 🏃Load Teleport Lite [BAN] [Bật Cuối]",
" [ 🔫Load Không Giật [Bật Cuối]",
}
hk = {"1 [ Định Vị Tay ] || [ Bật Ở Sảnh ]","2 [ Dí Tâm 45° Ống Ngắm ] || [ Bật Ở Sảnh ]","3 [ Chạy Nhanh ] || [ Bật Ở Sảnh ]","4 [ Người Trắng ] || [ Bật Ở Sảnh ]","5 [ Đấm Xa ] || [ Bật Ở Sảnh ]","6 [ Đạn Ma Thuật ] || [ Bật Ở Sảnh ]","7 [ Tăng Độ Nhạy ] || [ Bật Ở Sảnh ]","8 [ Ăn Máu 3s ] || [ Bật Ở Sảnh ]","9 [ Xuyên Đá ] || [ Bật Ở Sảnh ]","10 [ Đạn Nhanh X2 ] || [ Bật Ở Sảnh ]","11 [ Trời Tối ] || [ Bật Ở Sảnh ]","12 [ Góc Nhìn Rộng ] || [ Bật Ở Sảnh ]","13 [ Regedit Meta-Data ] || [ Bật Ở Login ]","14 [ Xoá Cây + Cỏ ] || [ Bật Trong Trận Đấu ]","15 [ Tâm Rõ ] || [ Bật Trong Trận Đấu ]","16 [ Dí Tâm Chặt 180° ] || [ Bật Trong Trận Đấu ]","17 [ Quay Lại ]"}
Offset = {["Ghost"] = 0x160C91C,["Magic"] = 0x6078F8}
Admin = "Khánh Modz"
Version = "3.2"
Type_Game = "Free Fire"
Version_Game = "1.90.X"
Banner = " ━━━━━━━━━━━━━━━━━━━━━\n|| Hack Antiban V" .. Version .. "\n|| " .. Type_Game .. ": " .. Version_Game .. "\n|| Admin: " .. Admin .. "\n━━━━━━━━━━━━━━━━━━━━━"
local m = sunGG.getTargetInfo()
if m.x64 == true then
print("⚠️ Script for free fire 32bit")
print("⚠️ Script dùng cho free fire 32bit")
print("🔥 Please download free fire 32bit")
print("🔥 Vui lòng tải free fire 32bit")
os.exit()
end if m.x64 == false then end
gm = "👻"
Best = "Bố M Thách Decrypt Đấy"
sunGG.setVisible(true)
y = 2
function sun()
y = 2
su_menu1 = sunGG.choice(main, loc, Banner)
z = 0
z = z + 1
if su_menu1 == z then menu_hk() end
z = z + 1
if su_menu1 == z then ghost() end
z = z + 1
if su_menu1 == z then ghostfly() end
z = z + 1
if su_menu1 == z then jumpfly() end
z = z + 1
if su_menu1 == z then telecar() end
z = z + 1
if su_menu1 == z then telelite() end
z = z + 1
if su_menu1 == z then recoil() end
SUNBest = -1
end

hack = {}
for i = 1, 50 do
hack[i] = false
end
function menu_hk()
y = 3
su_hack1 = sunGG.multiChoice(hk, hack, loc)
if su_hack1 == nil then else
z = 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(sunGG.REGION_ANONYMOUS)
sunGG.searchNumber("-0.02980032004;1:5", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.refineNumber("1", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.getResults(10)
sunGG.editAll("1909.4", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.setRanges(sunGG.REGION_ANONYMOUS)
sunGG.searchNumber("0.09043131769;1:5", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.refineNumber("1", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.getResults(10)
sunGG.editAll("1909.4", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Định Vị Tay [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(sunGG.REGION_ANONYMOUS)
sunGG.searchNumber("1909.4", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.refineNumber("1909.4", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.getResults(100)
sunGG.editAll("1", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Định Vị Tay [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(sunGG.REGION_ANONYMOUS)
  sunGG.searchNumber("1,069,547,520A;1,075,000,115A;1,069,547,520A:9", sunGG.TYPE_DWORD, false, sunGG.SIGN_EQUAL, 0, -1, 0)
  sunGG.refineNumber("1,075,000,115", sunGG.TYPE_DWORD, false, sunGG.SIGN_EQUAL, 0, -1, 0)
  revert = sunGG.getResults(10, nil, nil, nil, nil, nil, nil, nil, nil)
  sunGG.editAll("-5", sunGG.TYPE_DWORD)
  sunGG.clearResults()
sunGG.toast("[ Dí Tâm 45° Ống Ngắm [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(sunGG.REGION_ANONYMOUS)
  sunGG.searchNumber("1,069,547,520A;-5A;1,069,547,520A:9", sunGG.TYPE_DWORD, false, sunGG.SIGN_EQUAL, 0, -1, 0)
  sunGG.refineNumber("-5", sunGG.TYPE_DWORD, false, sunGG.SIGN_EQUAL, 0, -1, 0)
  revert = sunGG.getResults(10, nil, nil, nil, nil, nil, nil, nil, nil)
  sunGG.editAll("1,075,000,115", sunGG.TYPE_DWORD)
  sunGG.clearResults()
sunGG.toast("[ Dí Tâm 45° Ống Ngắm [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("2.80259693e-44F;1.20000004768F;0.18000000715F;1.40129846e-45F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("1.20000004768", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(500, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("1.780", gg.TYPE_FLOAT)
gg.clearResults()
sunGG.toast("[ Chạy Nhanh [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("1.780", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(500, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("1.20000004768", gg.TYPE_FLOAT)
gg.clearResults()
sunGG.toast("[ Chạy Nhanh [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(sunGG.REGION_VIDEO | sunGG.REGION_BAD)
sunGG.searchNumber("0.75", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.getResults(1000)
sunGG.editAll("7", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.setRanges(sunGG.REGION_VIDEO | sunGG.REGION_BAD)
sunGG.searchNumber("0.23", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1, 0)
sunGG.getResults(1000)
sunGG.editAll("26", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Người Trắng [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(sunGG.REGION_VIDEO | sunGG.REGION_BAD)
sunGG.searchNumber("7", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1)
sunGG.getResults(1000)
sunGG.editAll("0.75", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.setRanges(sunGG.REGION_VIDEO | sunGG.REGION_BAD)
sunGG.searchNumber("26", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1, 0)
sunGG.getResults(1000)
sunGG.editAll("0.23", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Người Trắng [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(sunGG.REGION_ANONYMOUS)
sunGG.searchNumber("1.35000002384", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1, 0)
sunGG.getResults(1000)
sunGG.editAll("965", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Đấm Xa [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(sunGG.REGION_ANONYMOUS)
sunGG.searchNumber("965", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1, 0)
sunGG.getResults(1000)
sunGG.editAll("1.35000002384", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Đấm Xa [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
io.output(fileData):write([[
8403
Var #7E2D98F8|7e2d98f8|10|3fa00000|0|0|0|0|r-xp|/data/data/com.chaozhuo.gameassistant/virtual/data/app/com.dts.freefireth/lib/libunity.so|6078f8
]]):close()
sunGG.loadList(fileData, sunGG.LOAD_APPEND | sunGG.LOAD_VALUES)
os.remove(fileData)
sunGG.clearList()
sunGG.clearResults()
sunGG.toast("[ Đạn Ma Thuật [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
io.output(fileData):write([[
8403
Var #7E2D98F8|7e2d98f8|10|3727c5ac|0|0|0|0|r-xp|/data/data/com.chaozhuo.gameassistant/virtual/data/app/com.dts.freefireth/lib/libunity.so|6078f8
]]):close()
sunGG.loadList(fileData, sunGG.LOAD_APPEND | sunGG.LOAD_VALUES)
os.remove(fileData)
sunGG.clearList()
sunGG.clearResults()
sunGG.toast("[ Đạn Ma Thuật [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(sunGG.REGION_CODE_APP)
sunGG.searchNumber("300", sunGG.TYPE_FLOAT)
sunGG.getResults(1)
sunGG.editAll("200", sunGG.TYPE_FLOAT)
sunGG.clearResults()
gg.toast("[ Tăng Độ Nhạy [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(sunGG.REGION_CODE_APP)
sunGG.searchNumber("200", sunGG.TYPE_FLOAT)
sunGG.getResults(1)
sunGG.editAll("300", sunGG.TYPE_FLOAT)
sunGG.clearResults()
gg.toast("[ Tăng Độ Nhạy [ " .. off .. " ] ]")end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(32)
sunGG.searchNumber("75D;5F;4F::30", 16, false, 536870912, 0, -1)
sunGG.refineNumber("4", 16, false, 536870912, 0, -1)
sunGG.getResults(1)
sunGG.editAll("3", 16)
sunGG.clearResults()
sunGG.toast("[ Ăn Máu 3s [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(32)
sunGG.searchNumber("75D;5F;4F::30", 16, false, 536870912, 0, -1)
sunGG.refineNumber("4", 16, false, 536870912, 0, -1)
sunGG.getResults(1)
sunGG.editAll("3", 16)
sunGG.clearResults()
sunGG.toast("[ Ăn Máu 3s [ " .. off .. " ] ]") end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
io.output(fileData):write([[
19022
Var #C0A27158|c0a27158|10|0|0|0|0|0|r-xp|/data/app/~~FgyagA3gCODnsIyoUe-Xrg==/com.dts.freefireth-Pia-pEwLQrQ5mv1dLAx9zw==/lib/arm/libunity.so|b47158
Var #C0A27168|c0a27168|10|0|0|0|0|0|r-xp|/data/app/~~FgyagA3gCODnsIyoUe-Xrg==/com.dts.freefireth-Pia-pEwLQrQ5mv1dLAx9zw==/lib/arm/libunity.so|b47168
]]):close()
sunGG.loadList(fileData, sunGG.LOAD_APPEND | sunGG.LOAD_VALUES)
os.remove(fileData)
sunGG.clearList()
sunGG.clearResults()
sunGG.toast("[ Xuyên Đá [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
io.output(fileData):write([[
19022
Var #C0A27158|c0a27158|10|ffffffffcafffe57|0|0|0|0|r-xp|/data/app/~~FgyagA3gCODnsIyoUe-Xrg==/com.dts.freefireth-Pia-pEwLQrQ5mv1dLAx9zw==/lib/arm/libunity.so|b47158
Var #C0A27168|c0a27168|10|ffffffffcafffe53|0|0|0|0|r-xp|/data/app/~~FgyagA3gCODnsIyoUe-Xrg==/com.dts.freefireth-Pia-pEwLQrQ5mv1dLAx9zw==/lib/arm/libunity.so|b47168
]]):close()
sunGG.loadList(fileData, sunGG.LOAD_APPEND | sunGG.LOAD_VALUES)
os.remove(fileData)
sunGG.clearList()
sunGG.clearResults()
sunGG.toast("[ Xuyên Đá [ " .. off .. " ] ]") end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(sunGG.REGION_CODE_APP)
sunGG.searchNumber("0.2", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1, 0)
sunGG.getResults(400)
sunGG.editAll("-1", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Đạn Nhanh X2 [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(sunGG.REGION_CODE_APP)
sunGG.searchNumber("-1", sunGG.TYPE_FLOAT, false, sunGG.SIGN_EQUAL, 0, -1, 0)
sunGG.getResults(400)
sunGG.editAll("0.2", sunGG.TYPE_FLOAT)
sunGG.clearResults()
sunGG.toast("[ Đạn Nhanh X2 [ " .. off .. " ] ]") end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
io.output(fileData):write([[
24594
Var #CE79C130|ce79c130|10|47b2b600|0|0|0|0|r-xp|/data/app/com.dts.freefireth-1/lib/arm/libunity.so|2ee130
]]):close()
sunGG.loadList(fileData, sunGG.LOAD_APPEND | sunGG.LOAD_VALUES)
os.remove(fileData)
sunGG.clearList()
sunGG.clearResults()
sunGG.toast("[ Trời Tối [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
io.output(fileData):write([[
24594
Var #CE79C130|ce79c130|10|3727c5ac|0|0|0|0|r-xp|/data/app/com.dts.freefireth-1/lib/arm/libunity.so|2ee130
]]):close()
      sunGG.loadList(fileData, sunGG.LOAD_APPEND | sunGG.LOAD_VALUES)
      os.remove(fileData)
      sunGG.clearList()
      sunGG.clearResults()
sunGG.toast("[ Trời Tối [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("-494,665,724A;1,135,869,952A;1,078,530,011A:81", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("1,078,530,011", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(10, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("1,120,403,456", gg.TYPE_DWORD)
gg.clearResults()
gg.processResume()
sunGG.toast("[ Góc Nhìn Rộng [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("-494,665,724A;1,135,869,952A;1,120,403,456A:81", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("1,120,403,456", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(10, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("1,078,530,011", gg.TYPE_DWORD)
gg.clearResults()
gg.processResume() 
sunGG.toast("[ Góc Nhìn Rộng [ " .. off .. " ] ]") end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
       sunGG.setRanges(sunGG.REGION_C_ALLOC)
       sunGG.searchNumber("48r;69r;70r;73r::9", sunGG.TYPE_BYTE, false, sunGG.SIGN_EQUAL, 0, -1)
       sunGG.getResults(400)
       sunGG.editAll("48r;65r;61r;64r", sunGG.TYPE_BYTE)
       sunGG.clearResults()
sunGG.toast("[ Regedit Meta-Data [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
       sunGG.setRanges(sunGG.REGION_C_ALLOC)
       sunGG.searchNumber("48r;65r;61r;64r::9", sunGG.TYPE_BYTE, false, sunGG.SIGN_EQUAL, 0, -1)
       sunGG.getResults(400)
       sunGG.editAll("48r;69r;70r;73r", sunGG.TYPE_BYTE)
       sunGG.clearResults()
sunGG.toast("[ Regedit Meta-Data [ " .. off .. " ] ]") end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
sunGG.setRanges(sunGG.REGION_CODE_APP)
  sunGG.searchNumber("60", sunGG.TYPE_FLOAT)
  sunGG.getResults(40)
  sunGG.editAll("-2.2958874e-41", sunGG.TYPE_FLOAT)
  sunGG.clearResults()
  sunGG.setRanges(_G.sunGG.REGION_ANONYMOUS)
      sunGG.searchNumber("6D;100;300::17", _G.sunGG.TYPE_FLOAT, false, _G.sunGG.SIGN_EQUAL, 0, -1)
      sunGG.searchNumber("100", _G.sunGG.TYPE_FLOAT, false, _G.sunGG.SIGN_EQUAL, 0, -1)
      sunGG.getResults(10)
      sunGG.editAll("-1", _G.sunGG.TYPE_FLOAT)
      sunGG.clearResults()
sunGG.toast("[ Xoá Cây + Cỏ [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
sunGG.setRanges(sunGG.REGION_CODE_APP)
  sunGG.searchNumber("-2.2958874e-41", sunGG.TYPE_FLOAT)
  sunGG.getResults(40)
  sunGG.editAll("60", sunGG.TYPE_FLOAT)
  sunGG.clearResults()
  sunGG.setRanges(_G.sunGG.REGION_ANONYMOUS)
      sunGG.searchNumber("6D;-1;300::17", _G.sunGG.TYPE_FLOAT, false, _G.sunGG.SIGN_EQUAL, 0, -1)
      sunGG.searchNumber("-1", _G.sunGG.TYPE_FLOAT, false, _G.sunGG.SIGN_EQUAL, 0, -1)
      sunGG.getResults(10)
      sunGG.editAll("100", _G.sunGG.TYPE_FLOAT)
      sunGG.clearResults()
sunGG.toast("[ Xoá Cây + Cỏ [ " .. off .. " ] ]") end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
Sun("h000000000000803F0000803F0000803F0000003F0000803F00000000000000000000003F", "h000000000000803F0000803F0000803F000020410000803F000000000000000000002041")
sunGG.toast("[ Tâm Rõ [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
Sun("h000000000000803F0000803F0000803F000020410000803F000000000000000000002041", "h000000000000803F0000803F0000803F0000003F0000803F00000000000000000000003F")
sunGG.toast("[ Tâm Rõ [ " .. off .. " ] ]") end
z = z + 1
if su_hack1[z] then
if hack[z] == false then
hack[z] = true
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("00002042rD;00004040rD;00007042rD;A470FD3ErD;AE47013FrD;A470FD3ErD;AE47013FrD;AE47E13ErD;295C0F3FrD;14AEC73ErD;F6281C3FrD;0000C03FrD:49", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("1077936128;1069547520", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(1000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("-20000;1,148,829,696", 4)
gg.clearResults()
sunGG.toast("[ Dí Tâm Chặt 180° [ " .. on .. " ] ]")
end
elseif hack[z] == true then
hack[z] = false
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("-20000;1,148,829,696", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(1000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("1077936128;1069547520", 4)
gg.clearResults()
sunGG.toast("[ Dí Tâm Chặt 180° [ " .. off .. " ] ]")
end
z = z + 1
if su_hack1[z] then sun() end
end
SUNBest = -1
end

function ghost()

Status=false
function sun()
if Status == false then
sunGG.toast(on)
SunLib("il2cpp", Offset.Ghost, "0000A0E31EFF2FE1")
Status=true
elseif Status == true then
sunGG.toast(off)
SunLib("il2cpp", Offset.Ghost, "704C2DE910B08DE2")
Status=false
end
SunGVN = -1
end

while true do
if sunGG.isVisible(true) then
SunGVN = 1
sunGG.setVisible(false)
end
if SunGVN == 1 then sun() end
end
end

function ghostfly()

Status=false
function sun()
if Status == false then
sunGG.toast(on)
SunLib("il2cpp","0x3EECCD4", "0100A0E31EFF2FE1")
SunLib("il2cpp", Offset.Ghost, "0000A0E31EFF2FE1")
Status=true
elseif Status == true then
sunGG.toast(off)
SunLib("il2cpp", "0x3EECCD4", "30482DE908B08DE2")
SunLib("il2cpp", Offset.Ghost, "704C2DE910B08DE2")
Status=false
end
SunGLVN = -1
end

while true do
if sunGG.isVisible(true) then
SunGLVN = 1
sunGG.setVisible(false)
end
if SunGLVN == 1 then sun() end
end
end

function jumpfly()

Status=false
function sun()
if Status == false then
sunGG.toast(on)
SunLib("il2cpp","0x3EECCD4", "0100A0E31EFF2FE1")
Status=true
elseif Status == true then
sunGG.toast(off)
SunLib("il2cpp", "0x3EECCD4", "30482DE908B08DE2")
Status=false
end
SunUCVN = -1
end

while true do
if sunGG.isVisible(true) then
SunUCVN = 1
sunGG.setVisible(false)
end
if SunUCVN == 1 then sun() end
end
end


function telecar()

Status=false
function sun()
if Status == false then
sunGG.toast(on)
SunLib("il2cpp", "0x2E704A0", "0000A0E31EFF2FE1")
Status=true
elseif Status == true then
sunGG.toast(off)
SunLib("il2cpp", "0x2E704A0", "F0482DE910B08DE2")
Status=false
end
SunCVN = -1
end

while true do
if sunGG.isVisible(true) then
SunCVN = 1
sunGG.setVisible(false)
end
if SunCVN == 1 then sun() end
end
end

function telelite()
sunGG.setRanges(sunGG.REGION_CODE_APP)
sunGG.searchNumber("100", sunGG.TYPE_FLOAT)
sunGG.getResults(1000)

Status=false
function sun()
if Status == false then
sunGG.toast(on)
sunGG.editAll("800", sunGG.TYPE_FLOAT)
Status=true
elseif Status == true then
sunGG.toast(off)
sunGG.editAll("100", sunGG.TYPE_FLOAT)
Status=false
end
SunTLVN = -1
end

while true do
if sunGG.isVisible(true) then
SunTLVN = 1
sunGG.setVisible(false)
end
if SunTLVN == 1 then sun() end
end
end

function recoil()

Status=false
function sun()
if Status == false then
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("1016018816", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, 0xfffffffffffffffb)
gg.getResults(500)
gg.editAll("0006018816", gg.TYPE_DWORD)
sunGG.clearResults()
sunGG.toast(on)
Status=true
elseif Status == true then
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("1016018816", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, 0xfffffffffffffffb)
gg.getResults(500)
gg.editAll("0006018816", gg.TYPE_DWORD)
sunGG.clearResults()
sunGG.toast(on)
Status=false
end
SunRVN = -1
end

while true do
if sunGG.isVisible(true) then
SunRVN = 1
sunGG.setVisible(false)
end
if SunRVN == 1 then sun() end
end
end


function exit()
sunGG.clearList()
sunGG.clearResults()
print("━━━━━━━━━━━━━━━━━━━━━")
print("        Hack by ➨ Khánh Modz")
print("━━━━━━━━━━━━━━━━━━━━━")
os.exit()
end


while true do
if Expired == true then
sunGG.toast("Bố M Thách Decrypt Đấy")
else
if sunGG.isVisible(true) then
SUNBest = 1
sunGG.setVisible(false)
end
if SUNBest == 1 then
if y == 0 then
ff()
elseif y == 2 then
sun()
elseif y == 3 then
menu_hk()
end
end
end
end 

Lua online compiler

Write, Run & Share Lua code online using OneCompiler's Lua online compiler for free. It's one of the robust, feature-rich online compilers for Lua language, running the latest Lua version 5.4. Getting started with the OneCompiler's Lua editor is easy and fast. The editor shows sample boilerplate code when you choose language as Lua and start coding.

Taking inputs (stdin)

OneCompiler's Lua online editor supports stdin and users can give inputs to programs using the STDIN textbox under the I/O tab. Following is a sample Lua program which takes name as input and prints hello message with your name.

name = io.read("*a")
print ("Hello ", name)

About Lua

Lua is a light weight embeddable scripting language which is built on top of C. It is used in almost all kind of applications like games, web applications, mobile applications, image processing etc. It's a very powerful, fast, easy to learn, open-source scripting language.

Syntax help

Variables

  • By default all the variables declared are global variables
  • If the variables are explicitly mentioned as local then they are local variables.
  • Lua is a dynamically typed language and hence only the values will have types not the variables.

Examples

-- global variables
a = 10

-- local variables

local x = 30
Value TypeDescription
numberRepresents numbers
stringRepresents text
nilDifferentiates values whether it has data or not
booleanValue can be either true or false
functionRepresents a sub-routine
userdataRepresents arbitary C data
threadRepresents independent threads of execution.
tableCan hold any value except nil

Loops

1. While:

While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.

while(condition)
do
--code
end

2. Repeat-Until:

Repeat-Until is also used to iterate a set of statements based on a condition. It is very similar to Do-While, it is mostly used when you need to execute the statements atleast once.

repeat
   --code
until( condition )

3. For:

For loop is used to iterate a set of statements based on a condition.

for init,max/min value, increment
do
   --code
end

Functions

Function is a sub-routine which contains set of statements. Usually functions are written when multiple calls are required to same set of statements which increase re-usuability and modularity.

optional_function_scope function function_name( argument1, argument2, argument3........, argumentn)
--code
return params with comma seperated
end