Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chattable = {} addEventHandler('onPlayerChat',root,function(msg,msgtype) if msgtype == 1 then table.insert(chattable,msg) if string.find(chattable,msg) then setElementData(source,'chat',getElementData(source,'chat')+1) if setElementData(source,'chat') == 5 then kickPlayer(source,'spam') end end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement