So I was learning about TextChatService and while programming I had this question.
What’s the difference between this
TextChatService.MessageReceived:Connect(function()
print("Sushi")
end)
and this?
TextChatService.SendingMessage:Connect(function()
print("Sushi")
end)
Even if I do this I have the same result…
TextChatService.MessageReceived:Connect(function(msg)
if msg.Text == "Sushi" then
print("Sushi")
end
end)
TextChatService.SendingMessage:Connect(function(msg)
if msg.Text == "Sushi" then
print("Sushi")
end
end)