Tried using plr.chatted on the client nothing happened so I am wondering if it only works on the server
5 Likes
They made it only fire for messages sent by LocalPlayer in late 2022, I recommend using TextChatService.MessageReceived to get around this.
3 Likes
player.Chatted:Connect(function(msg)
print(msg)
if msg == 'B' then
print('Is B')
end
end)
2 Likes
So what is it you’re trying to do…?
1 Like
See when the player chats on client
1 Like
When the local player does or just any player? Just watch it on the server.
The local player
This text will be blurred
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
print(message)
end)
end)
It really goes as simple as this. This works for every local player, and you can call out specific players.
Where is the script located at
its inside of a screengui in starter gui
Im trying to do this on the client therefore I dont need to do this with every player