**What do you want to achieve?**i want to get the chat prefix (with color) of a player, like this:
What is the issue? the only solutions i have found are if the player has already chatted, however this is for console chat (which i have filtered btw) and i want it to show the prefix for them, but they cant chat so i cant get the color
What solutions have you tried so far? i looked at devforum and google
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- This is an example Lua code block
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
As I mentioned the name shown is the DisplayName of the user. If there isn’t one, then the Username is displayed. This depends on the chat version.
As for the color, this will help.
Make sure you got all the html fields correct. There’s a doc tutorial on rich text formatting, I suppose you know it. That TextLabel definitely supports RichText