Mr_3242

Adonis anticheat bypass

Jul 2nd, 2026
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.61 KB | Gaming | 0 0
  1. local getinfo = getinfo or debug.getinfo
  2. local DEBUG = false
  3. local Hooked = {}
  4.  
  5. local Detected, Kill
  6.  
  7. setthreadidentity(2)
  8.  
  9. for i, v in getgc(true) do
  10.     if typeof(v) == "table" then
  11.         local DetectFunc = rawget(v, "Detected")
  12.         local KillFunc = rawget(v, "Kill")
  13.    
  14.         if typeof(DetectFunc) == "function" and not Detected then
  15.             Detected = DetectFunc
  16.            
  17.             local Old; Old = hookfunction(Detected, function(Action, Info, NoCrash)
  18.                 if Action ~= "_" then
  19.                     if DEBUG then
  20.                         warn(`Adonis AntiCheat flagged\nMethod: {Action}\nInfo: {Info}`)
  21.                     end
  22.                 end
  23.                
  24.                 return true
  25.             end)
  26.  
  27.             table.insert(Hooked, Detected)
  28.         end
  29.  
  30.         if rawget(v, "Variables") and rawget(v, "Process") and typeof(KillFunc) == "function" and not Kill then
  31.             Kill = KillFunc
  32.             local Old; Old = hookfunction(Kill, function(Info)
  33.                 if DEBUG then
  34.                     warn(`Adonis AntiCheat tried to kill (fallback): {Info}`)
  35.                 end
  36.             end)
  37.  
  38.             table.insert(Hooked, Kill)
  39.         end
  40.     end
  41. end
  42.  
  43. local Old; Old = hookfunction(getrenv().debug.info, newcclosure(function(...)
  44.     local LevelOrFunc, Info = ...
  45.  
  46.     if Detected and LevelOrFunc == Detected then
  47.         if DEBUG then
  48.             warn(`zins | adonis bypassed`)
  49.         end
  50.  
  51.         return coroutine.yield(coroutine.running())
  52.     end
  53.    
  54.     return Old(...)
  55. end))
  56. -- setthreadidentity(9)
  57. setthreadidentity(7)
Tags: delta
Add Comment
Please, Sign In to add comment