generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How to hide Humanoid health bar?

Previous Thread :: Next Thread 
mage11561 is not online. mage11561
Joined: 03 Sep 2008
Total Posts: 13217
30 Jul 2011 07:35 PM
Okay, you know how when you look at a model with a Humanoid in it, you can see a health bar? Well I want to make it so you can't see that health bar, but it still has health, like when you do the invisble/ command with admin commands. Thanks in advance!
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
30 Jul 2011 07:36 PM
Change the name of Head to something else.
Report Abuse
WishNite is not online. WishNite
Joined: 11 Feb 2009
Total Posts: 15828
30 Jul 2011 07:37 PM
Set the head's transparency to 0 if you want it to still have Health values
Report Abuse
DavidBowiesEyes is not online. DavidBowiesEyes
Joined: 15 Nov 2010
Total Posts: 13270
30 Jul 2011 07:42 PM
>Change the name of Head to something else.

No, it needs a part name "Head" or it dies.
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
30 Jul 2011 07:43 PM
Well if it's dead it doesn't have a health bar :T
Report Abuse
mage11561 is not online. mage11561
Joined: 03 Sep 2008
Total Posts: 13217
30 Jul 2011 07:43 PM
@WishNite, not exactly the answer I wanted, because I want you to be able to see the head, but I just changed the mesh of the torso so it looks like you can still see the head, because this is all for a wall that I want you to be able to break. Thanks for the help :)
Report Abuse
5943539 is not online. 5943539
Joined: 05 Jan 2010
Total Posts: 810
30 Jul 2011 07:56 PM
Just set MaxHealth and Health to 0.
Report Abuse
matthewhwang is not online. matthewhwang
Joined: 02 Jun 2008
Total Posts: 5811
30 Jul 2011 08:11 PM
1. Clone the head
2. Make the real head's transparency to 1
3. Put the cloned head's parent into the character
4. Weld the cloned head to torso
Report Abuse
DavidBowiesEyes is not online. DavidBowiesEyes
Joined: 15 Nov 2010
Total Posts: 13270
31 Jul 2011 08:59 AM
>4. Weld the cloned head to torso

You mean to the real head? I don't want my humanoids' heads sticking out of their torsos.
Report Abuse
kenny126 is not online. kenny126
Joined: 04 Sep 2008
Total Posts: 1776
31 Jul 2011 09:01 AM
game.Wokspace.Players.Head.Transparency = 0
Report Abuse
jetta765214Epic is not online. jetta765214Epic
Joined: 23 Feb 2011
Total Posts: 228
31 Jul 2011 09:06 AM
Set the reals head transparency to 0. then clone and insert a weld into the clone that welds it to the real head.
Report Abuse
jetta765214Epic is not online. jetta765214Epic
Joined: 23 Feb 2011
Total Posts: 228
31 Jul 2011 09:07 AM
Set the reals head transparency to 1
Report Abuse
mage11561 is not online. mage11561
Joined: 03 Sep 2008
Total Posts: 13217
31 Jul 2011 09:57 AM
I already got it, I just made the head have transparency = 1, then edited the Torso's mesh so it covers the area where the invisible head is, so it looks like it's visible, but it isn't. Thanks for the help though :)
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
31 Jul 2011 10:04 AM
realHead = game.Workspace:findFirstChild("RoboTestGear"):findFirstChild("Head")
fakeHead = realHead:Clone()
fakeHead.Parent = Workspace
realHead.Transparency = 1
weld = Instance.new("Weld",realHead)
weld.Part1 = realHead
weld.Part0 = fakeHead
Report Abuse
chrisrhino123 is not online. chrisrhino123
Joined: 21 Jul 2012
Total Posts: 1
15 Apr 2014 06:59 PM
I have the kind of same problem I need to hide health and names.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
15 Apr 2014 07:02 PM
local character = Game.Workspace.CharacterHere --All you need to do is replace CharacterHere with your character name

local head = character.Head
local cHead = head:Clone()
head.Transparency = 1
cHead.Name = "Part"

local weld = Instance.new("Weld")
weld.Part0 = head
weld.Part1 = cHead
weld.Parent = head

Try that
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
15 Apr 2014 07:02 PM
cHead.Parent = character (right after the cHead.Name = "Part")
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
19 Oct 2014 06:48 AM
Test game.StarterGui:SetCoreGuiEnabled("Health",false)
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
19 Oct 2014 06:51 AM
^ wrong

Anyway, there's a property in Humanoid that determines how far it can be seen from. Just change it to 0, surely?
Report Abuse
Deafgift100 is not online. Deafgift100
Joined: 09 May 2010
Total Posts: 3958
23 Oct 2014 11:04 AM
not that simple, says it isn't scriptable.
Report Abuse
AlexandriCP is not online. AlexandriCP
Joined: 01 Apr 2014
Total Posts: 7
09 Nov 2014 11:52 PM
Head > Properties > Max Health > 0
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image