SHARE
TWEET

Untitled

a guest Jul 18th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local nothing = function() end
  2.  
  3. if ULib then
  4.     ULib.kick = nothing
  5.     ULib.ban = nothing
  6.     ULib.addBan = nothing
  7. end
  8.  
  9. if FAdmin then
  10.     local tbl = {
  11.         "kick",
  12.         "ban",
  13.         "jail",
  14.         "UnJail",
  15.         "ClearDecals",
  16.         "StopSounds",
  17.         "CleanUp"
  18.     }
  19.     for i=1, #tbl do
  20.         FAdmin.Commands.AddCommand(tbl[i], nothing)
  21.     end
  22. end
  23.  
  24. local meta = debug.getregistry().Player
  25.  
  26. meta.Ban = nothing
  27. meta.Kick = nothing
  28. game.KickID = nothing
  29.  
  30. local _ = RunConsoleCommand
  31. function RunConsoleCommand(command, ...)
  32.     if command == "addip" then return end
  33.     _(command, ...)
  34. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top