I need help for a team group rank gui this si my script but it is not working
local groupId = 7635145
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local GuiClone = script.OverheadGui:Clone()
GuiClone.Parent = Character.Head
local InformationLabel = GuiClone.InformationLabel
if plr.TeamColor ==("Really black") then
local PlayerRank = Player:GetRoleInGroup(groupId)
InformationLabel.Text = Player.Name .. " - " .. PlayerRank
end)
end)
