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

How can I hide a name?

Asked by 10 years ago

How can I hide the name of a model with a humanoid without deleting the name? Is it possible?

2 answers

Log in to vote
1
Answered by
Perci1 4988 Trusted Moderation Voter Community Moderator
10 years ago

Please do some research before you ask a question. There is a good wiki article about this that you should have read. Here it is.

Anyways, here are your two options:

The HealthDisplayDistance and NameDisplayDistance properties of a player. This will enable you to hide the player's name and health if you set both to zero when they join the game. However, this will only work for a player's character not non-player characters.

You can do this with a PlayerAdded event.

game.Players.PlayerAdded:connect(function(plr)
    --stuff
end)

Setting the transparency of the Humanoid model's head to 1. This will make both the GUI shown above and the Humanoid's head invisible, and should only be used when the Humanoid belongs to a non-player character. You can easily do this in studio without a script.

0
Sorry, I'll be sure to look into things more next time. Thanks! AwsomeSpongebob 350 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

I just go random deleting until I find that it works

Answer this question