Bold Text Not Working

So I wanted to make bold text work in TextChatService, but it just comes out like this. Is this a bug or do I need to fix something?

image

Here’s the code:

local TCS = game:GetService("TextChatService")

TCS.OnIncomingMessage = function(message)
	local properties = Instance.new("TextChatMessageProperties")
	
	if message.TextSource then
		if message.Text == "???" then
			properties.Text = "<b>???<b>"
			print("yea")
		end
	end
	
	return properties
end
1 Like

I don’t think you can use bold text in chat, can you?

1 Like

It does support things like colors and chat tags, so I wouldn’t say bold text is very farfetched.

I know about the chat tags, but I have never seen bold text in chat

It’s supposed to support rich text, so it’s why I’m confused it’s not working.

What kind of script is it and where do you have it?

LocalScript in StarterPlayerScripts.

You’re missing a slash in the closing part of the richtext.
Try changing it to properties.Text = "<b>???</b>".

Oh my god I’m so dumb, thank you.

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