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

How do you remove players name and health bar from above their heads?

I know this isn't a request site but, i've looked on ROBLOX Wiki and couldn't find it. So i'm woundering if anyone could tell me.

5 comments

0

Do you mean indefinitely, or do you mean by a button press?

0

I mean like, permanantly remove players health bar and name.

0

Then use the Player Property for NameDisplayDistance and HealthDisplayDistance and set it to 0.

0

I dont understand what any of that is. :(

0

Click this link http://wiki.roblox.com/index.php?title=Player Look for NameDisplayDistance and HealthDisplayDistance, and attempt to make a script. If the script fails, post your attempt here, if it works then you just hid all name and health tags.

2 answers

New code:

-- Put this in the starterpack
local player = script.Parent.Parent
local character = player.Character
newhead = character.Head:clone()
newhead.Name = "FakeHead"
newhead.Parent = character.Head.Parent
character.Head.Transparency = 1

a little longer but still it works!

3 comments

0

That would only remove the name. not the health bar

0

Yea hmmm didn't think about that

0

Fixed it!

A local script in starter pack.

local player = game.Players.LocalPlayer

player.HealthDisplayDistance = 0
player.NameDisplayDistance = 0

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