This may sound like a rather stupid question, I used to know this but now I've forgotten
If I wanted to print "Hi" when I press a button I would just type:
Button.Touched:Connect(function()
print("Hi")
end)
But, if I wanted the game to print "Hi" when the player types and enters something in the chat box, how would I implement such a thing?

1 comment
Yes, this is exactly what I was looking for, thanks