Specific Team Name Overhead GUI

  1. What do you want to achieve? When someone is on a Specific Team (In my case Trainer Team) it makes a Text box below the Rank name (in my case my Group Rank is the Executive Premier)
    image

  2. What is the issue? The Specific Team Name Overhead GUI isn’t working when the other group ranks and name are.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub? I tried, but no solutions

image

local groupID = 10320154 -- Put your Group ID here!


game.Players.PlayerAdded:Connect(function(player)
	local groupRank = player:GetRoleInGroup(groupID)
	local clone = script.Rank:Clone()
	clone.Parent = game.Workspace:WaitForChild(player.Name).Head
	clone.Frame.Name1.Text = player.Name
	clone.Frame.Rank.Text = groupRank



	player.CharacterAdded:Connect(function()
		local groupRank = player:GetRoleInGroup(groupID)
		local clone = script.Rank:Clone()
		clone.Parent = game.Workspace:WaitForChild(player.Name).Head
		clone.Frame.Name1.Text = player.Name
		clone.Frame.Rank.Text = groupRank


		local function changeText(Player, Team)
			local teamName = Player.Team.Name

			if teamName == "Trainer" then
				teamName = "Trainer"

				changeText.Rank.Frame.Team.Text = "Trainer"
		end

end
	end)
	end)
1 Like

yea i had to deal with this issue before, you have to make each team a different color

They are, I just don’t know what to do about the team name GUI. I tried doing clone.Frame.Team.Text = Player.team.name but nothing is working. I just hope to find a solution.