The information on this page may no longer be accurate. To see the latest, go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar


This function sets whether BubbleChat and ClassicChat are being used, and tells TeamChat and Chat what to do using the ChatStyle enum. Since this item is protected, attempting to use it in a Script or LocalScript will cause an error.

This function is used internally when the chat mode is set by the game.

If you would like to create a custom chat system where you can define custom functions such as these, take a look at the tutorial here.

See also

Developers who are interested interested in configuring their games’ bubble chat system even further should take a look at the articles/Bubble Chat|Bubble Chat article.


Name Type Default Description

The specified chat style being set


Return Type Summary

No return

Code Samples

Setting a Player's Chat Style

This example demonstrates that the Players/SetChatStyle function executes without error if using the Command Bar or a Plugin and errors if executed in a LocalScript.

When executed in the Command Bar, this code sets the chat style to Classic using the Enum/ChatStyle enum.