ðŸ”ĪChatService

Service for sending chat messages.

Example usage:

Events.PlayerAdded(function (event)
    ChatService.sendMessage(event.player.name .. " joined the game!")
end)

Events.PlayerRemoving(function (event)
    ChatService.sendMessage(event.player.name .. " left the game.")
end)

Functions

sendMessage(message: string, color: Color3 | nil)

Sends the provided message as a chat message to all players. Use the optional color parameter to set the color of the message.

Last updated