For example, if I'm in a Cops team, the overhead GUI displays "Cops".
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.