How can i check if someone chatted - client script

game.Players.LocalPlayer.Chatted only works on server scripts i tihnk

is there another method to catch chats on a client script

1 Like

You would have the .Chatted thing in a server script, then use RemoteEvents to transfer that information to the client.

is there a method to do this instantly (client Sided)? if not this works ok
im trying to do something with timestamps and serverside brings some delay

which chat version are you using? chatted works on legacy

2 Likes

how can i change chat version?

local TextChatService = game:GetService("TextChatService")

TextChatService.SendingMessage:Connect(function(textChatMessage)
	print("Channel: "..textChatMessage.TextChannel.Name)
	print("Text: "..textChatMessage.Text)
end)

this works ty