Advertisement
Exho

Lenny Annihilator

Dec 10th, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.09 KB | None | 0 0
  1. if SERVER then
  2.    
  3.     local lennyCollection = {
  4.         "ʖ",
  5.         --"°",
  6.         "͡ಠ",
  7.         "͡ಠ",
  8.         "͡~",
  9.         "͡°",
  10.         "͡o",
  11.         "͜",
  12.         "◕",
  13.         "ω",
  14.         "͡° ͜ʖ ͡ -",
  15.         "( ͡͡ ° ͜ ʖ ͡ °)",
  16.         "( ͡ ͡° ͡°  ʖ ͡° ͡°)",
  17.         "(ง ͠° ͟ل͜ ͡°)ง",   
  18.         "( ͡° ͜ʖ ͡ °)",  
  19.         "(ʖ ͜° ͜ʖ)",
  20.         "( ͡o ͜ʖ ͡o)",
  21.         "{ ͡• ͜ʖ ͡•}",
  22.         "( ͡° ͜V ͡°)",
  23.         "( ͡^ ͜ʖ ͡^)", 
  24.         "( ‾ʖ̫‾)",
  25.         "( ͡°╭͜ʖ╮͡° )",
  26.         "ᕦ( ͡°╭͜ʖ╮͡° )ᕤ",
  27.         "╮ (. ❛ ᴗ ❛.) ╭",
  28.         "c(^u^c)",
  29.     }
  30.    
  31.     local phrases = {
  32.         "vigiously rubbed by Lenny",
  33.         "touched by the pope",
  34.         "annihilated",
  35.         "idiot culled",
  36.         "'SUCK ON MY FAT ASS'ed",
  37.         "nuked from orbit",
  38.         "blasted harder than Hiroshima",
  39.         "rekt",
  40.         "whooped by their mama",
  41.         "transported to the 4th dimension",
  42.         "deleted",
  43.         "shaved from head to toe", 
  44.     }
  45.    
  46.     function idiotBan( ply )
  47.         local culls = ply:GetPData( "lenny", 0 )
  48.         culls = culls + 1
  49.         ply:SetPData( "lenny", culls )
  50.        
  51.         --PrintMessage( HUD_PRINTTALK, ply:Nick().." has been idiot culled "..culls.." times.")
  52.         PrintMessage( HUD_PRINTTALK, ply:Nick().." has been "..table.Random( phrases ).." "..culls.." time(s).")
  53.        
  54.         --ply:Ban( culls )
  55.         ply:Kick("Idiot cull")
  56.     end
  57.    
  58.     hook.Add( "PlayerSay", "idiotCull", function( ply, text, team )
  59.         for _, lenny in pairs( lennyCollection ) do
  60.             if string.find( text, lenny ) then
  61.                 --if ply != findExho() then
  62.                     if not ply.banned then
  63.                         idiotBan( ply )
  64.                         ply.banned = true
  65.                     end
  66.                 --end
  67.             end
  68.         end
  69.     end)
  70.    
  71.     hook.Add( "PlayerSay", "idiotCull2", function( ply, text, team )
  72.         if string.sub( text:lower(), 1, string.len("!getstaff" ) ) == "!getstaff" then
  73.             --if ply != findExho() then
  74.                 if not ply.banned then
  75.                     idiotBan( ply )
  76.                     ply.banned = true
  77.                 end
  78.             --end
  79.         end
  80.     end)
  81.    
  82.     hook.Add( "PlayerSpawn", "idiotCull", function( ply )
  83.         for _, lenny in pairs( lennyCollection ) do
  84.             if string.find( ply:Nick(), lenny ) then
  85.                 timer.Simple( math.random(5, 60), function()
  86.                     idiotBan( ply )
  87.                 end)
  88.             end
  89.         end
  90.     end)
  91. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement