Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My hidename script won't work?

Asked by 8 years ago

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..

0
game.Players not game..Players, try that? Wizzy011 245 — 8y
0
Still didn't work. fireboltofdeath 635 — 8y

1 answer

Log in to vote
1
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
8 years ago

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)
0
2 scripts, over ten pages long each, turns into four page one script, I am stupid. fireboltofdeath 635 — 8y
0
I think you mean line*, not page. Goulstem 8144 — 8y
Ad

Answer this question