For example, if I'm in a Cops team, the overhead GUI displays "Cops".
✓ ANSWER ACCEPTED
How do you make the overhead GUI display the team's name?
1 answer
✓ Accepted answer
You would want to create a BillboardGui with a TextLabel inside displaying the users team, and parent the GUI to (preferably) the head of the Character.
-- local script
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:wait()
local team = player.Team
local gui = Instance.new("BillboardGui")
local teamlabel = Instance.new("TextLabel")
teamlabel.Text = player.Team.Name
teamlabel.Parent = gui
gui.Parent = Character:WaitForChild("Head")
Additionally, if you want to call this when a user switches team:
player:GetPropertyChangedSignal("Team"):Connect(function()
(code)
end)
Once you've done this, you can adjust the properties of the TextLabel and GUI in Test mode to your liking, and then edit these properties in the script.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thank you very much, it worked.
If this helped you please mark it as solution, thanks.