Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add( "PlayerSay", "ISaid", function( ply, text, team )
- if (string.sub(text, 1, 5) == "/kill") then--if the first 4 letters are /all continue
- if(string.len(text) < 6) then
- ply:Kill()
- end
- else
- local textt = string.Explode(" ", text)
- local playerk = textt[2]
- for k,v in pairs(player.GetAll())do
- if(string.match(string.lower(v:Nick()),playerk))then
- v:Kill()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement