Hi, I’m trying to make a pretty simple kill feed, and I’m trying to add the color of a players teamcolor to the richtext.
This is what I came up with, and ran it in the command console: (it doesn’t work, all paths are correct. the text changed, but it looks like the screenshot below)
local Team1 = game.Teams.HiddenTeams.knigt
game.StarterGui.MainUI.KillFeed.Frame.TextLabel.Text = [[<font color="rgb(]]..(Team1.TeamColor.Color.R*255)..[[,]]..(Team1.TeamColor.Color.G*255)..[[,]]..(Team1.TeamColor.Color.B*255)..[[)">Player1</font> destroyed]]