Help With Table

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)

3 Likes

thanks for help really thank you