Some peoples found a way to copy and paste verification badge in TextChatService

If you find yourself adversely affected by this issue, I’ve released a faithful recreation of TextChatService that addresses this issue. OpenTextChatService - Open-Source Implementation of TextChatService. While it is pretty simple to implement your own custom character filtering (and you certainly don’t need a custom text chat implementation to do so), I’ve included it as a built in feature for convenience. This is on top of a bunch of other bugs and performance issues that I’ve addressed. If that isn’t your jam, something as simple as this will do the trick though.

local function filterSpecialCharacters(text)
	local new = text
	for i,v in {utf8.char(0xE000), utf8.char(0xE001), utf8.char(0xE002)} do new = string.gsub(new, v, "#") end
	return new
end
game:GetService("TextChatService").OnIncomingMessage = function(message)
	message.Text = if message.TextSource ~= nil then filterSpecialCharacters(message.Text) else message.Text
end

That being said, I do hope this bug is addressed formally since this isn’t something developers should have to worry about.

4 Likes