How to make a player's message apply RICH TEXT if they use Rich Text

I’m using the Legacy Chat that old ROBLOX Chat for my project, I wanted to make the Chat be able to apply rich text to the players messages if they use Rich Text, I don’t know how to do it.