game.Players.PlayerAdded:Connect(function(a)a.CharacterAdded:Connect(function(Z)local T=Z.Head local D=nametag:Clone()local U=D.UpperText local L=Z.Humanoid L.DisplayDistanceType="\078\111\110\101"D.Parent=T D.Adornee=T U.Text=a.Name end)end)

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(char)
		--Varibles
		local head = char.Head
		local newtext = nametag:Clone() --Cloning the text.
		local uppertext = newtext.UpperText
		local humanoid = char.Humanoid
		
		humanoid.DisplayDistanceType = "None"
		
		--Main Text
		newtext.Parent = head
		newtext.Adornee = head
		uppertext.Text = player.Name --Changes the text to the player's name.
		
	end)
end)
