I’d like to hide a message sent through TextChatService. I’ve tried changing the message.Text sent via OnIncomingMessage and through creating new TextChatProperties, however, this hasn’t worked so far. Perhaps I’m doing something incorrect. And any help is appreciated. This is what I’ve done so far:
local _remote = game.ReplicatedStorage.RemoteEvents.TextEvents.AdminCommands
TextChatService.OnIncomingMessage = function(message: TextChatMessage)
local properties = Instance.new("TextChatMessageProperties")
message.Text = ""
properties.PrefixText = ""
properties.Text = ""
return properties
--return properties
end