chrisjd31
(chrisjd31)
January 23, 2021, 2:14am
#1
So I have a custom humanoid. I can damage it and kill it but the health bar never displays and the name never displays.
For example:
Humanoid Settings:
Model Settings:
HumanoidRootPart settings:
Head:
Forgot, I added a Torso:
Still no dice.
What am I doing wrong? Ive done custom humanoids before and they have displayed their names so I am confused.
1 Like
Maybe change the “DisplayName” to whatever you want it to be named.
chrisjd31
(chrisjd31)
January 23, 2021, 2:32am
#3
Yea still no dice.
Health doesnt display when damaged either
heII_ish
(heII_ish)
January 23, 2021, 2:33am
#4
This is because the head is transparent. If you want to make the head invisible and still show the name and health you should add a mesh to it and set the scale to 0
9 Likes
chrisjd31
(chrisjd31)
January 23, 2021, 2:33am
#5
Oh crap thats right. Let me check.
chrisjd31:
Humanoid Settings:
Maybe change the display name and then health display type to AlwaysOn?
chrisjd31
(chrisjd31)
January 23, 2021, 2:34am
#7
Oh man I totally forgot about that. That was it:
I set the Heads transparency to 0.99
and that fixed it.
1 Like
pyxfluff
(Pyx)
January 23, 2021, 3:01am
#8
You could still use a GUI, making it look nicer.
chrisjd31
(chrisjd31)
January 23, 2021, 3:37am
#9
Yea I changed it to Billboard GUI anyways since I have color teams in my game. However, I still needed the health bar to display.
pyxfluff
(Pyx)
January 23, 2021, 3:39am
#10
local Health
--health code here idk
script.Parent.Text = health.."% HP remaning!"
script.Parent.HealthBar.Size = UDim2.new(0, health, 0, y pixels)
another option if you want a visual and not only text