Unexpected behavior with Players:Chat()

Players:Chat() is missing functionality. When I call it from the client, the chatted event on my player does not fire. Previously, :Chat() would fire the .Chatted event on the player on the server. However this doesnt happen anymore and :Chat isn’t marked as deprecated on the devforum so I’m only led to assume this is unintended behavior.

Reproduction code:

--> server
game.Players.subterranias.Chatted:Connect(print);

--> client
game.Players:Chat("message");

Expected behavior

The server should output “message” using the code that I provided.

1 Like

It somehow has plugin security.

https://create.roblox.com/docs/reference/engine/classes/Players#Chat

Also it suggestes using:

https://create.roblox.com/docs/reference/engine/classes/Chat#Chat

Hi, thanks for the report.
As previously mentioned, Players:Chat is not accessible by script. You may be thinking of Chat:Chat(). However this method is deprecated and we’d recommend using TextChatService:DisplayBubble() instead to show bubbles.

We don’t intend these messages to raise the Player.Chatted event at this time.