How to delete messages sent in chat?

So if a player sends a message in the chat, such as “/command” i want it to delete it.

How can it be done? (If you dont understand, I dont want the message to appear)

4 Likes

This would require you to create your own command / chat list, deleting chats isn’t a roblox feature yet

1 Like

Well, you cant delete messages from the Chat without messing it up but there is a function you can use.

RegisterProcessCommandsFunction

If you are unable to go to the link, here’s a screenshot:

EDIT:
You would have to fork the chat to do this. Please visit Here to learn more.

2 Likes

How am I supposed to use it? I don’t understand

You can’t delete a message from the chatbox without making your own custom chat, however you can always interrupt a message before it gets there.

Hmm but HD Admin can delete the messages…

Got a source on that? I’ve never heard of or seen that being a thing.

Well never mind lol hd admin dosent have it sorry but I’ve seen games where you can use a command then it disappears