Disable above head display name

Hi, I am trying to disable it so your name above your head doesn’t show your display name and it just shows your regular name. How do I do this?

Set the humanoid display name value to the PLayer name value.

Here’s the code you could do for it:

local humanoid = game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
humanoid.DisplayName = game.Players.LocalPlayer.Name
1 Like

welp,
it must be a server script doenst it

otherwise it’ll happen just for the client

game.Players.PlayerAdded:Connect(function(player)
    repeat wait() until player.Character and player.Character.Humanoid
    player.Character.Humanoid.DisplayName = player.Name
end)

Do I make this a Local Script, and where do I place it?

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		local Humanoid = Character:WaitForChild("Humanoid")
		Humanoid.DisplayName = Player.Name
	end)
end)

This would go into ServerScriptStorage in a ServerScript.

1 Like