So basically I need to know how I would do this using a table for more than one word:
game.Players.PlayerAdded:connect(function(plr) plr.Chatted:connect(function(msg) if msg ==
"start" then if plr.Name == captain1 then
start()
end)
end)
How would I add a table in which could be used in place of "if msg == "start""
the table would look like this:
local words = {"start","begin","play"}
Would I simply replace "if msg == "start"" with "if msg == words then" Or would it be something like "if msg[words] then"
*Excuse my few errors if there are.
