My rich text is look wierd.
It’s a bit hard to see since its really small. But the rich text is not supposed to look like that. It is supposed to look like:
Rarity: Rarity(e.g Common) ← makes the “Rarity”(the second one) a different colour. Like Common is a grey colour.
Portion of script:
local Rarity
local RarityColour
for i, item in ipairs(IndexTable) do
if item.name == toolHandle.Name then
Rarity = item.Rarity
RarityColour = item.Color
end
end
ItemRarity.RichText = true
ItemRarity.Text = "Rarity: <font color='" .. RarityColour .. "'>" .. Rarity .. "</font>"