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

ClassicChat

Players

bool

Indicates whether or not classic chat is enabled. This property is set by the Players/SetChatStyle method using the Enum/ChatStyle enum.

When this chat mode is enabled, the game displays chats in a bubble above the sender’s head.

There are two other chat modes, Players/BubbleChat 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