marcelslibrary

cbro anticheat

Apr 30th, 2019
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. local mt = getrawmetatable(game);
  2. local old = mt.__namecall
  3.  
  4. local rstorage = game:GetService("ReplicatedStorage");
  5. local Events = rstorage.Events;
  6. local FallDamage = Events.FallDamage;
  7. local HitPart = Events.HitPart;
  8. local Client = game:GetService("Players").LocalPlayer.PlayerGui.Client;
  9. local FallDamage = game:GetService("ReplicatedStorage").Events.FallDamage;
  10.  
  11. setreadonly(mt, false);
  12.  
  13. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  14.  
  15. mt.__namecall = newcclosure(function(self,...)
  16. local args = {...}
  17. local method = args[#args]
  18.  
  19. if (self == FallDamage and method:find('FireServer')) then
  20. return wait(9e9);
  21. end
  22.  
  23. if method == 'FireServer' and args[1] and type(args[1]) == 'table' and args[1][1] == 'kick' then
  24. return function() end
  25. end
  26.  
  27. if (self == Kick or self == FallDamage) and string.lower(method) == 'fireserver' then
  28. print(self, ...)
  29. return wait(9e9);
  30. end
  31.  
  32. return old(self, ...)
  33. end)
Add Comment
Please, Sign In to add comment