PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

BubbleChat

Players

bool

The BubbleChat Players property indicates whether or not bubble chat is enabled. It is set with the Players/SetChatStyle method using the Enum/ChatStyle enum.

When this chat mode is enabled, the game displays chats in the chat user interface at the top-left corner of the screen.

There are two other chat modes, Players/ClassicChat and a chat mode where both classic and bubble chat are enabled.


Code Samples


How to Check a Game's Chat Mode

This example prints a string indicating the game’s chat mode, which can be one of three modes:

  1. Classic chat
  2. Bubble chat
  3. Classic and bubble chat
local Players = game.Players

if (Players.ClassicChat and Players.BubbleChat) then
	print("Classic and Bubble chat are enabled!")
elseif (Players.ClassicChat) then
	print("Classic chat is enabled!")
elseif (Players.BubbleChat) then
	print("Bubble chat is enabled!")
end