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

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

Asked by 9 years ago

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.

0
Do you mean indefinitely, or do you mean by a button press? M39a9am3R 3210 — 9y
0
I mean like, permanantly remove players health bar and name. gtaboss1 0 — 9y
0
Then use the Player Property for NameDisplayDistance and HealthDisplayDistance and set it to 0. M39a9am3R 3210 — 9y
0
I dont understand what any of that is. :( gtaboss1 0 — 9y
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. M39a9am3R 3210 — 9y

2 answers

Log in to vote
0
Answered by
Hexcede 52
9 years ago

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!

0
That would only remove the name. not the health bar YellowoTide 1992 — 9y
0
Yea hmmm didn't think about that Hexcede 52 — 9y
0
Fixed it! Hexcede 52 — 9y
Ad
Log in to vote
0
Answered by 9 years ago

A local script in starter pack.

local player = game.Players.LocalPlayer

player.HealthDisplayDistance = 0
player.NameDisplayDistance = 0

Answer this question