Admin Command Private Message

Is there any resource how to make Private Message with command “:pm username text” and the target user receive the chat in GUI and they can reply? Like Adonis Admin, thank you.

1 Like

You really don’t have to ask here. Since this forum isn’t made for spoon-feeding and telling the exact answer to questions that you didn’t search up about yet. But I would suggest that you use RemoteEvents. If you already have an argument + command system. If you don’t, then use string.split to get every word or value and split them using space. When you recieve the remote event using RemoteEvent.OnClientEvent then turn on the UI. And have a button that also uses RemoteEvents to broadcast the new reply on the pm.

To add on to this comment, if the player is not in the server, you may use MessagingService to pm them.