c0deine

CAC RunEncrypted #1

Feb 16th, 2015
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.93 KB | None | 0 0
  1. local fragmentBlacklist =
  2. {
  3.     "aimbot",
  4.     "aimware",
  5.     "esp",
  6.     "gdaap",
  7.     "hack",
  8.     "wallhack"
  9. }
  10.  
  11. timer.Simple (30,
  12.     function ()
  13.         pcall (
  14.             function ()
  15.                 for commandName, _ in pairs (concommand.GetTable ()) do
  16.                     for _, fragment in ipairs (fragmentBlacklist) do
  17.                         if string.find (commandName, fragment) then
  18.                             net.Start ("CAC_BanMe")
  19.                                 net.WriteString ("concommand")
  20.                                 net.WriteString (commandName)
  21.                             net.SendToServer ()
  22.                         end
  23.                     end
  24.                 end
  25.                
  26.                 for eventName, eventTable in pairs (hook.GetTable ()) do
  27.                     for hookName, f in pairs (eventTable) do
  28.                         for _, fragment in ipairs (fragmentBlacklist) do
  29.                             if string.find (hookName, fragment) then
  30.                                 net.Start ("CAC_BanMe")
  31.                                     net.WriteString ("hook")
  32.                                     net.WriteString (eventName)
  33.                                     net.WriteString (hookName)
  34.                                 net.SendToServer ()
  35.                             end
  36.                         end
  37.                     end
  38.                 end
  39.             end
  40.         )
  41.     end
  42. )
Advertisement
Add Comment
Please, Sign In to add comment