how can I make that it will check in the chat if message is one word inside table the table
local Table= {"hello","hi"}
player.Chatted:Connect(function(message)
if message == Table?? then
--code
end
how can I make that it will check in the chat if message is one word inside table the table
local Table= {"hello","hi"}
player.Chatted:Connect(function(message)
if message == Table?? then
--code
end
local Table= {"hello","hi"}
player.Chatted:Connect(function(message)
if table.find(Table, message) then
print("found")
end
end)
thanks for help really thank you