Start building

Roblox Overhead Nametag Script (Custom Rank & Color)

Creates a crisp styled BillboardGui above each player's Head on spawn with custom rank titles and creator highlight.

Type: ScriptExplorer: ServerScriptServiceLevel: Beginner
ScriptServerScriptService
-- Script in ServerScriptService
local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local head = character:WaitForChild("Head") :: BasePart

		local tag = Instance.new("BillboardGui")
		tag.Name = "OverheadTag"
		tag.Size = UDim2.fromOffset(220, 52)
		tag.StudsOffset = Vector3.new(0, 2.4, 0)
		tag.AlwaysOnTop = false
		tag.MaxDistance = 80
		tag.Parent = head

		local label = Instance.new("TextLabel")
		label.Size = UDim2.fromScale(1, 1)
		label.BackgroundTransparency = 1
		label.Font = Enum.Font.GothamBold
		label.TextScaled = true
		label.TextStrokeTransparency = 0.3
		local isOwner = player.UserId == game.CreatorId
		label.TextColor3 = if isOwner then Color3.fromRGB(255, 208, 64) else Color3.new(1, 1, 1)
		label.Text = (if isOwner then "[OWNER] " else "") .. player.DisplayName
		label.Parent = tag
	end)
end)

How to install in Studio

  1. Insert a Script named OverheadTags in ServerScriptService.
  2. Paste the code above and press Play.
  3. Set Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None if you want to hide Roblox's default name.

Tips & customization

  • Connect player:GetRankInGroup(GROUP_ID) to display custom group roles and badge colors.

Common questions.

How do I hide the default Roblox nametag?

Set character:WaitForChild('Humanoid').DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None inside CharacterAdded.

More free Luau scripts.

All 16 scripts

Skip manual wiring.
Let Revix code & playtest it.

Start building free

Free to start. No card needed.