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

Automatic Name Hiding Script

Me and my good friend are having trouble finding & creating a script that does exactly what the title says; hides the names of every player in the game without having to click any GUI. We figure it's possible, but whenever we test them many times it works only for me (creator of the place) but once I die the script becomes invalid.

Does anyone happen to know of a working script that does exactly what we need? If required I can give you what we have for you to work off of.

The following script, as provided by TechTeam911, does not work:

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
local hc = character:WaitForChild("Head"):Clone()
hc.Name = "FakeHead"
hc.Parent = character
local w = Instance.new("Weld")
w.Part0 = character.Head
w.Part1 = hc
w.Parent = character.Head
character.Head.Transparency = 1
end)
end)

I, the owner/creator of the place, and usually the first to join, am NOT able to see someone's name, but they can see mine. This script works in the sense that after one of us has died, I am still unable to see names, and I do not have a broken head, but others can still see my name.

Thanks in advance,

2 comments

0

You don't need to list your "qualifications" or who you are working with, and you should just post the code here. No need for pastebin. Say the issue, post the code, be done.

0

Do not repost your questions. This will get your account suspended.

1 answer

Game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(character)
		wait()
		local head = character.Head
		local headClone = head:Clone()
		headClone.Parent = Workspace
		head.Transparency = 1
		headClone:ClearAllChildren()
		head.Mesh.Parent = headClone
		head.face.Parent = headClone
		headClone.CFrame = head.CFrame
		headClone.Name = "False Head"
		headClone.Parent = character

		local weld = Instance.new("ManualWeld")
		weld.Part0 = head
		weld.Part1 = headClone
		weld.C0 = CFrame.new()
		weld.C1 = headClone.CFrame:inverse() * head.CFrame
		weld.Parent = head
		weld.Name = "fakeHeadWeld"
	end)
end)

That should work for ya. :>

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