Problem with new TextChatService

Hello, recently I’ve been trying to write a script that checks what LocalPlayer typed in the Chat but because of the newer TextChatService the :Chatted function doesn’t seem to work anymore. Is there a new way to do it? Any help much appreciated.