Advertisement
dehdchjcdhjcdc

Untitled

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