Tried using plr.chatted on the client nothing happened so I am wondering if it only works on the server
They made it only fire for messages sent by LocalPlayer in late 2022, I recommend using TextChatService.MessageReceived to get around this.
You’re both wrong, actually.
@FroDev1002 Please show the code and your use case.
player.Chatted:Connect(function(msg) print(msg) if msg == 'B' then print('Is B') end end)
So what is it you’re trying to do…?
See when the player chats on client
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