Hide Sent Message TextChatService

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
3 Likes

Try using TextChannel.ShouldDeliverCallback, however the message will still appear on your screen, but not other clients

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.