I was wondering how I could separate words that are chatted, so that if I chat "give me all the money" and have it print results I would get -give -me -all -the -money
[EDIT] I figured ^^^ that out. but now I need to know how to access specific words.
game.Players.PlayerAdded:connect(function(Player)
Player.Chatted:connect(function(Message)
for i in string.gmatch(Message, "%S+") do
print(i)
end
end)
end)

2 comments
Elaborate 'access specific words'.
Lets say I said some thing with 5 words, and I wanted it to print the 2nd word I said...