Advertisement
Exho

Untitled

Aug 12th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. if SERVER then
  2.  
  3. local lennyCollection = {
  4. "ʖ",
  5. "°",
  6. "͡ಠ",
  7. "( ͡° ͜ʖ ͡°)",
  8. "( ͠° ͟ʖ ͡°)",
  9. "( ͡ಠ ͜ʖ ͡ಠ)",
  10. "ᕦ( ͡° ͜ʖ ͡°)ᕤ",
  11. "( ͡~ ͜ʖ ͡°)",
  12. "( ͡o ͜ʖ ͡o)",
  13. "͡° ͜ʖ ͡ -",
  14. "( ͡͡ ° ͜ ʖ ͡ °)",
  15. "( ͡ ͡° ͡° ʖ ͡° ͡°)",
  16. "(ง ͠° ͟ل͜ ͡°)ง",
  17. "( ͡° ͜ʖ ͡ °)",
  18. "(ʖ ͜° ͜ʖ)",
  19. "( ͡o ͜ʖ ͡o)",
  20. "{ ͡• ͜ʖ ͡•}",
  21. "( ͡° ͜V ͡°)",
  22. "( ͡^ ͜ʖ ͡^)",
  23. "( ‾ʖ̫‾)",
  24. "( ͡°╭͜ʖ╮͡° )",
  25. "ᕦ( ͡°╭͜ʖ╮͡° )ᕤ",
  26. "╮ (. ❛ ᴗ ❛.) ╭",
  27. }
  28.  
  29. local function ban( ply )
  30. local culls = ply:GetPData( "lenny", 0 )
  31. culls = culls + 1
  32. ply:SetPData( "lenny", culls )
  33.  
  34. PrintMessage( HUD_PRINTTALK, ply:Nick().." has been idiot culled "..culls.." times.")
  35.  
  36. --ply:Ban( culls )
  37. ply:Kick("Idiot cull")
  38. end
  39.  
  40. hook.Add( "PlayerSay", "idiotCull", function( ply, text, team )
  41. for _, lenny in pairs( lennyCollection ) do
  42. if string.find( text, lenny ) then
  43. if ply != findExho() then
  44. if not ply.banned then
  45. ban( ply )
  46. ply.banned = true
  47. end
  48. end
  49. end
  50. end
  51. end)
  52.  
  53. hook.Add( "PlayerSpawn", "idiotCull", function( ply )
  54. for _, lenny in pairs( lennyCollection ) do
  55. if string.find( ply:Nick(), lenny ) then
  56. ban( ply )
  57. end
  58. end
  59. end)
  60. end
  61. --[[
  62. if SERVER then
  63. hook.Add( 'SetupMove', 'auto hop', function( ply, move )
  64. if ply:Alive() and not ply:IsOnGround() then
  65. move:SetButtons( bit.band( move:GetButtons(), bit.bnot( IN_JUMP ) ) )
  66. end
  67. end )
  68.  
  69. end]]
  70.  
  71. hook.Remove( 'SetupMove', 'auto hop')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement