I have a script that changes the players name. How would I make it so the player can't see his own name.
local v = player local char = v.Character local mod = Instance.new("Model", char) mod.Name = player.name local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0 local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head char.Head.Transparency = 1
To make it so that the player does not see their own name tag, you will have to use a local script on the client. Since the script is on the client, you can do anything and the rest of the server will not see it. In this case, you are using a Humanoid to set the name tag. There is a property of the Humanoid called DisplayDistanceType, if you set this to "None", the character will not see it. If you set this property to "None" on the client, everyone will see it except for the character.