Advertisement
artbarte

CBRO bypass

Jul 26th, 2017
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. local renv = getrenv()
  2. local old_spawn = renv.spawn
  3.  
  4. renv.spawn = function(f)
  5. local env = getfenv(0)
  6. if env.Ban then
  7. env.Ban = function() print('caught ban') end
  8. error('caught ban') -- prevent it from going on to lag the game out
  9. end
  10. old_spawn(f)
  11. end
  12.  
  13. -- extra code to ensure that you don't get RAC banned no matter what
  14. local mt = getrawmetatable(game)
  15. local namecall = mt.__namecall
  16.  
  17. mt.__namecall = function(...)
  18. local arguments = {...}
  19. if arguments[1].Name == 'RequestWeapon' and arguments[#arguments] == 'FireServer' and arguments[2] == 'Ban' then
  20. return
  21. end
  22. return namecall(...)
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement