So, I’m making nametags (overhead GUIs) for my group, and for some reason the text color isn’t changing. I’ve searched through the developer fourm and youtube, but havent found anything on why this isn’t working. No errors in the script at all in the output and it confirms the RGB color.
local groupId = 7733334
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local GuiClone = script.BillboardGui:Clone()
GuiClone.Parent = Character.Head
local Rank = GuiClone.Rank
local Username = GuiClone.Username
local PlayerRank = Player:GetRoleInGroup(groupId)
Username.Text = Player.Name
Rank.Text = PlayerRank
if Player:GetRankInGroup(groupId) >= 254 then
game.Workspace.Script.BillboardGui.Rank.TextColor3 = Color3.fromRGB(255,0,0)
end
end)
end)