So this new service arrived (i am a beta member).
I was wondering on how you could create a server-wide announcement in my game.
This could be important for huge events, like a rebirth. (not with 1000s, just max 10)
Rebirthing will be super rare in my game, and this is important.
If it’s a Server-Wide announcement then MessagingService really isn’t needed. If you’re trying to do a Global Message across all servers. Then MessagingService would be your best friend here.
But to explain how you’d do a Global One with MessagingService. The two API function you want to use are PublicAsync and SubscribeAsync.
When the SubscribeAsync function fires you can fire a RemoteEvent to all clients which triggers them to use StarterGui:SetCore(“ChatMakeSystemMessage”).
If it’s only a specific server you want to have the announcement on. Then all you need to do is when the Server detects a ‘Rebirth’ event in a server. Have it fire the RemoteEvent which triggers ChatMakeSystemMessage in the client.
3 Likes