Here is the script
Filtered = {"Word1","Word2","Word3"}
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(msg)
for i,v in pairs(Filtered) do
if msg == v then
p:Kick()
end
end
end)
end)
Whenever a player says a word in the Filtered table it should kick them. But it only works if they say the word in it so it cannot detect it in a sentence D: Please help!

1 comment
In advance: Thanks!