When creating a custom text message and using richtext for one of it, it leaves behind 2 annoying spaces. Also couldn’t tell if it was a bug or not, so I’m going to leave it in this category.
local details = {
Text = [[<font color="rgb(255, 255, 0)">]]..player.Name..[[</font>]].." has just unlocked: "..[[<font color="rgb(112, 6, 75)">]]..chosenPrize.Name..[[</font>]],
Color = Color3.fromRGB(255, 255, 255)
}
details.Text:gsub("%s", "")
game.StarterGui:SetCore("ChatMakeSystemMessage", details)