Chat¶
Static Class
This object is a static class. It can be accessed by using it's name as a keyword like this Chat
.
Additionally, it cannot be created in the creator menu or with Instance.New()
Chat is a static class used for various actions regarding the chat.
Methods¶
BroadcastMessage → void
¶
Parameters: message [ string
]
Sends a chat message to all users.
Example
Chat:BroadcastMessage("Hello, world!")
UnicastMessage → void
¶
Sends a chat message to a specific user.
Example
Chat:UnicastMessage("Hello, world!", game["Players"]["willemsteller"])