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

My hidename script won't work?

My HideName won't work..

game..Players.PlayerAdded:connect(function((player)
player.CharacterAdded:connect(function(character)
local head2=character.Head:clone()
local Neck=character.Torso.Neck:clone()
character.Head.Transparency=1
head2.Parent=character
head2.Name="Head2"
Neck.Parent=character.Torso
Neck.Part0=character.Torso
Neck.Part1=head2
if head2:findFirstChild("face") then
head2.face:remove()
end
script.ChangeColor:clone().Parent=head2
head2.ChangeColor.Disabled=false
end)
end)

Says no errors in output..

2 comments

0

game.Players not game..Players, try that?

0

Still didn't work.

1 answer

✓ Accepted answer

I don't see anything wrong with your code other than some simple mistakes on line 1, but you said there's no errors so I'm not sure what that's about.

Reguardless of this, you're making this too complicated. There is a property of the Player called NameDisplayDistance. This will set the distance, in studs, that the user's name is displayed. So.. naturally, if set to 0 then it will hide your name completely.

game.Players.PlayerAdded:connect(function(plr)
	wait()
	plr.NameDisplayDistance = 0
end)

2 comments

0

2 scripts, over ten pages long each, turns into four page one script, I am stupid.

0

I think you mean line*, not page.

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