What I did:
(BILLBOARD SCRIPT)
local rank = script.Parent
local player = game.Players:GetPlayerFromCharacter(script.Parent.Parent.Parent.Parent)
if player.TeamColor == BrickColor.new(“Black”) then
rank.Text = "National Security, "…player:GetRoleInGroup(13617257)
rank.TextColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882)
end
if player.TeamColor == BrickColor.new(“Crimson”) then
rank.Text = "Sobrejtski Dynasty, "…player:GetRoleInGroup(13623290)
rank.TextColor3 = Color3.new(0.137255, 0.137255, 0.137255)
end
if player.TeamColor == BrickColor.new(“Earth green”) then
rank.Text = "Armed Forces, "…player:GetRoleInGroup(13617195)
rank.TextColor3 = Color3.new(0.0666667, 0.309804, 0)
script.Parent.Parent.Parent.Parent.Disabled = true
end
if player.TeamColor == BrickColor.new(“Earth green”) then
rank.Text = "High Command, "…player:GetRoleInGroup(13617195)
rank.TextColor3 = Color3.new(0.647059, 0.239216, 0.243137)
end
OUTPUT: