Custom Nametag In Roblox Studio

Опубликовано: 03 Май 2026
на канале: KeyHitt2
22,824
348

Hope You Like It!

Script -
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")

local billboardGui = ReplicatedStorage:WaitForChild("CustomNameTag") -- replace with your BillboardGui name

Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local clonedGui = billboardGui:Clone()
clonedGui.Parent = character:WaitForChild("Head") -- attach to the character's head
clonedGui.StudsOffset = Vector3.new(0, 2, 0) -- adjust the offset here
local nameLabel = clonedGui:FindFirstChild("NameLabel") -- replace with your TextLabel name
if nameLabel then
nameLabel.Text = player.Name -- set the text to the player's name
end
end)
end)