As a Roblox Developer, it is currently impossible to customize incoming chat messages using UIGradients with the New In-Experience text chat system.
This is something we’ve been doing with the old chat system in Car Crushers 2. Where the player’s name is customized with a gradient and color of their choice:
Previously we used to do this with simple .ChildAdded Signal attached to the chat container in the player’s PlayerGui. But now that the new Chat is kept in the CoreGui, on top of the fact that RichText doesn’t support UIGradients, we have no way to port this behaviour over without writing an entirely custom chat.
If Roblox is able to address this issue it would make the conversion to the new chat massively easier to implement. Any of these additions would work:
- The new default chat GUI being made accessible in the PlayerGui
- TextChatService.OnIncomingMessage featuring settings to override the message’s GUI components (This scenario requires 2 textlabels with UIGraidents applied to one)
- UIGradient support in RichText