so I have this "Anti-Cheat" I'm trying to make but Its literally saying Chat is not on the exceptions even though it is I'm super confused even though it's probably simple :/
player.PlayerGui.DescendantAdded:Connect(function(Descendant)
if Descendant:IsA("ScreenGui") then
print(Descendant.Name)
if Descendant.Name ~= "Chat" or Descendant.Name ~= "BubbleChat" or Descendant.Name ~= "FreeCam" then
print(Descendant.Name.." is not on the exceptions ")
player:Kick("Anti-Cheat:"..player.Name.." Banned for 99999999 days jk just don't do it again -_-")
end
end
end)

2 comments
Are you trying to kick a player if they chat a certain message?
no, I'm trying to make it so if a Gui gets added to a players PlayerGui and it's not supposed to be there then they get kicked but I have the Chat gui in the exceptions so it shouldn't kick them but it still does