hg545

Da Hood Anti Cheat Disabler

Aug 14th, 2025 (edited)
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.38 KB | None | 0 0
  1. -- This script will help you avoid temporary bans
  2. local Players = game:GetService('Players')
  3. local LocalPlayer = Players.LocalPlayer
  4. local KickFunc = LocalPlayer.Kick
  5. local RobloxEnv = getrenv()
  6.  
  7. hookfunction(KickFunc, newcclosure(function(self, reason)
  8.     return task.wait(9e9)
  9. end))
  10.  
  11. local old
  12. old = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
  13.     local Name = getnamecallmethod()
  14.     if Name == 'Kick' or Name == 'kick' then
  15.         return task.wait(9e9)
  16.     end
  17.     return old(self, ...)
  18. end))
  19.  
  20. local Detected, Kill
  21. for i, v in getgc(true) do
  22.     if typeof(v) ~= 'table' then continue end
  23.  
  24.     local DetectFunc = rawget(v, "Detected")
  25.     local KillFunc = rawget(v, "Kill")
  26.  
  27.     if typeof(DetectFunc) == "function" and not Detected then
  28.         Detected = DetectFunc
  29.         hookfunction(DetectFunc, newcclosure(function()
  30.             return true
  31.         end))
  32.     end
  33.  
  34.     if rawget(v, "Variables") and rawget(v, "Process") and typeof(KillFunc) == "function" and not Kill then
  35.         Kill = KillFunc
  36.         hookfunction(KillFunc, newcclosure(function()
  37.             return true
  38.         end))
  39.     end
  40. end
  41.  
  42. local old
  43. old = hookfunction(RobloxEnv.debug.info, newcclosure(function(...)
  44.     local Func = ...
  45.     if Func == Detected or Func == Kill then
  46.         return coroutine.yield(coroutine.running())
  47.     end
  48.     return old(...)
  49. end))
Advertisement
Add Comment
Please, Sign In to add comment