# MessagingService(ロブロックス クラス) > Allows servers of the same experience to communicate with each other. - URL:https://roblox.minecraft-okinawa.com/reference/classes/MessagingService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/MessagingService - 受け継いでいるクラス:Instance ## メソッド - `MessagingService:PublishAsync(topic: string, message: Variant): ()`:Invokes the supplied callback whenever a message is pushed to the topic. - `MessagingService:SubscribeAsync(topic: string, callback: Function): RBXScriptConnection`:Begins listening to the given topic. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)