This member cannot be used in scripts, but is usable in the command bar and plugins.
For thread safety, this property is not safe to read in an unsynchronized thread.
This function makes the local player chat the given message. Since this item is protected, attempting to use it in a
LocalScript will cause an error.
Instead, when creating a custom chat system, or a system that needs access to the chat, you can use the
Chat/Chat function instead.
articles/Lua-Chat-System|Lua Chat System, a tutorial for creating a more advanced chat system
The message chatted.
This example demonstrates that the
Players/Chat function executes without error if using the Command Bar or a Plugin (assuming the local player can chat freely) and errors if executed in a