Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how to change player nametag?

so i make a brick that will change player nametag but for some reason it display me a error message "19:50:37.871 - Label edit failed : The current identity (0) cannot set a Character's name (requires 4)".

function aaa(part)
	local human  = part.Parent:FindFirstChild("Humanoid")
	if human then
		human.Parent.Name = "AAAa"
	end 
end
script.Parent.Touched:connect(aaa)

is something wrong?

1 answer

✓ Accepted answer

Sorry, that is not possible, you would have to create your own name tag in the form of a BillboardGui + TextLabel.

To hide the original nametag do the following

Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None

This discussion is preserved as it was. New answers, comments, and votes are closed.