Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if SERVER then
- local lennyCollection = {
- "ʖ",
- "°",
- "͡ಠ",
- "( ͡° ͜ʖ ͡°)",
- "( ͠° ͟ʖ ͡°)",
- "( ͡ಠ ͜ʖ ͡ಠ)",
- "ᕦ( ͡° ͜ʖ ͡°)ᕤ",
- "( ͡~ ͜ʖ ͡°)",
- "( ͡o ͜ʖ ͡o)",
- "͡° ͜ʖ ͡ -",
- "( ͡͡ ° ͜ ʖ ͡ °)",
- "( ͡ ͡° ͡° ʖ ͡° ͡°)",
- "(ง ͠° ͟ل͜ ͡°)ง",
- "( ͡° ͜ʖ ͡ °)",
- "(ʖ ͜° ͜ʖ)",
- "( ͡o ͜ʖ ͡o)",
- "{ ͡• ͜ʖ ͡•}",
- "( ͡° ͜V ͡°)",
- "( ͡^ ͜ʖ ͡^)",
- "( ‾ʖ̫‾)",
- "( ͡°╭͜ʖ╮͡° )",
- "ᕦ( ͡°╭͜ʖ╮͡° )ᕤ",
- "╮ (. ❛ ᴗ ❛.) ╭",
- }
- local function ban( ply )
- local culls = ply:GetPData( "lenny", 0 )
- culls = culls + 1
- ply:SetPData( "lenny", culls )
- PrintMessage( HUD_PRINTTALK, ply:Nick().." has been idiot culled "..culls.." times.")
- --ply:Ban( culls )
- ply:Kick("Idiot cull")
- end
- hook.Add( "PlayerSay", "idiotCull", function( ply, text, team )
- for _, lenny in pairs( lennyCollection ) do
- if string.find( text, lenny ) then
- if ply != findExho() then
- if not ply.banned then
- ban( ply )
- ply.banned = true
- end
- end
- end
- end
- end)
- hook.Add( "PlayerSpawn", "idiotCull", function( ply )
- for _, lenny in pairs( lennyCollection ) do
- if string.find( ply:Nick(), lenny ) then
- ban( ply )
- end
- end
- end)
- end
- --[[
- if SERVER then
- hook.Add( 'SetupMove', 'auto hop', function( ply, move )
- if ply:Alive() and not ply:IsOnGround() then
- move:SetButtons( bit.band( move:GetButtons(), bit.bnot( IN_JUMP ) ) )
- end
- end )
- end]]
- hook.Remove( 'SetupMove', 'auto hop')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement