Class:MessagingService

The MessagingService class is a service. This service can be used to communicate cross-server in one universe, by subscribing to a topic via the SubscribeAsync method. All servers subscribed to a topic will be notified when the topic sends data via the PublishAsync method.

Limitations
Though this is a very powerful service, it has been criticized for its limitations at first, there was a belief of a maximum of 10,000 requests per universe, stated by, a top developer, worried this was too little. Since then, it has been mentioned by, a Roblox employee, that it is Subscriptions per topic per universe.

Code Example
Let's create a Script using MessagingService that does the following:

Whenever a player chats, the following code would send that message to all servers, allowing cross-server communication. This code would compare the 's property to ensure that messages are not sent twice in the same server.