The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Anti Ban script pastebin roblox
By Anti Ban on 2024-09-21 08:00 am | Syntax: LUA | Views: 10



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. -- // Vars
  2. local detectionVectors = {
  3. CHECKER_1 = true,
  4. TeleportDetect = true,
  5. OneMoreTime = true,
  6. BANREMOTE = true,
  7. KICKREMOTE = true
  8. }
  9. -- // Metatable vars
  10. local mt = getrawmetatable(game)
  11. local backupnamecall = mt.__namecall
  12. setreadonly(mt, false)
  13. -- // Hook
  14. mt.__namecall = newcclosure(function(...)
  15. -- // Vars
  16. local method = getnamecallmethod()
  17. local args = {...}
  18. -- // Check if it trying to do naughty
  19. if (method == "FireServer" and tostring(args[1]) == "MainEvent" and detectionVectors[args[2]]) then
  20. return wait(9e9)
  21. end
  22. if (method == "CHECKER_1" and tostring(args[1]) == "MainEvent" and detectionVectors[args[2]]) then
  23. return wait(9e9)
  24. end
  25. if (method == "KICKREMOTE" and tostring(args[1]) == "MainEvent" and detectionVectors[args[2]]) then
  26. return wait(9e9)
  27. end
  28. if (method == "BANREMOTE" and tostring(args[1]) == "MainEvent" and detectionVectors[args[2]]) then
  29. return wait(9e9)
  30. end
  31. -- // Fly Bypass
  32. if (not checkcaller() and getfenv(1).crash ~= nil and getfenv(1).checkChild ~= nil) then
  33. getcallingscript():Destroy()
  34. return wait(9e9)
  35. end
  36. -- // Return
  37. return backupnamecall(...)
  38. end)
  39. -- // End Metatable
  40. setreadonly(mt, true)