How do you make a script that can dm players cross server?

So I want to check through all servers, and universes (other places inside of the game) for a specific player the message is directed to. After reaching this player, I want like a ping sound to happen and then it displays what the dm was that was sent.

How can I achieve this?

You’d want to use MessagingService | Roblox Creator Documentation and Sound Objects.
Roblox Example


-- Example script
game:GetService("MessagingService"):SubscribeAsync("MessageTopic", function(message)
   -- this connects to the 'SubscribeAsync' function from 'MessagingService'
   -- 'MessageTopic' is the key-like string that the function connects to to detect a message (can be something like the player's userid)
   -- 'message' is the data that was sent to the key using 'PublishAsync'

   print(message) -- prints the message that was sent, to the output log
end)