ðŸ“ĢAnnouncementService

Service for sending announcement messages.

Example usage:

Events.MatchStart(function(event)
    local startMessage = "You have 30 seconds to hide!"
    local color = Color3.fromRGB(80, 255, 175)
    AnnouncementService.sendAnnouncement(startMessage, color)
    
    task.delay(30, function ()
        local nextMessage = "Seekers have been released!"
        AnnouncementService.sendAnnouncement(nextMessage, color) 
    end)
end)

Functions

sendAnnouncement(message: string, color: Color3 | nil): bool

Sends the provided message as an announcement to all players. Use the optional color parameter to set the color of the announcement.

Last updated