I am attempting to make an Overhead rank GUI. Everything works perfectly I just want to make it so the TextStrokeColor3 is the same color as the team. My only problem being that TextStrokeColor3 wants Color3 and TeamColor is BrickColor. I've gone through couple of things cant find a working request. Code below.
local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local clonedgui = billboardgui:Clone()
clonedgui.Frame.PlrName.Text = player.Name
clonedgui.Frame.Rank.Text = game.Players:WaitForChild(player.Name):WaitForChild("leaderstats").Rank.Value
clonedgui.Frame.Ministry.Text = player.Team.Name
local color = BrickColor.new(player.TeamColor).Color
clonedgui.Frame.Ministry.TextStrokeColor3 = color
clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head -- Yes, you can also just say character.Head
end)
end)

4 comments
I think on line 10 you can do like this; local color = player.TeamColor.Color
We have BrickColor.Color which is return Color3 of the BrickColor https://developer.roblox.com/en-us/api-reference/datatype/BrickColor
That's what I said??
Oh sorry :)