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 » Scripters
Home Search
 

Re: Custom Health on top of player? humanoid?

Previous Thread :: Next Thread 
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
18 May 2015 02:23 PM
how would i make a custom UI that displays local health on top of a player?
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
18 May 2015 02:24 PM
Billboard UI


~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
18 May 2015 02:24 PM
A BillboardGui paired with the .Changed event will work like a treat!

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
18 May 2015 02:24 PM
kinda like the on in mad paintball i guess?
Report Abuse
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
18 May 2015 02:25 PM
example? looked all over wiki i neede this like a bullet trhough the head
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
18 May 2015 02:25 PM
Yeah, just put a BillboardGui in StarterGui, Adornee it to the LocalPlayer, and then use the .Changed event of the Humanoid to change the health.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
vacha is not online. vacha
Joined: 06 Jan 2011
Total Posts: 1993
18 May 2015 02:25 PM
bar.Size.X.Scale = humanoid.Health/humanoid.MaxHealth


while true do the do
Report Abuse
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
18 May 2015 02:29 PM
i cant do this lol, im literally done. i have the UI Designed i just need a script that will put it on top of the players head and size it depending on players health
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
18 May 2015 02:30 PM
LocalPlayer.Character.Humanoid.Changed:connect(function()

BillboardGui.HealthLabel.Size = LocalPlayer.Character.Humanoid.Health/LocalPlayer.Character.Humanoid.MaxHealth

end

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
18 May 2015 02:31 PM
will this put it on the players head?
Report Abuse
vacha is not online. vacha
Joined: 06 Jan 2011
Total Posts: 1993
18 May 2015 02:32 PM
Make a billboard gui
and set it's parent to the character's head (with a script)


while true do the do
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
18 May 2015 02:32 PM
You need to the other stuff like creating the billboard gui making the Health label and everything. This is just the bones, you need to add the meat on to it.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
vacha is not online. vacha
Joined: 06 Jan 2011
Total Posts: 1993
18 May 2015 02:52 PM
@OP
Edit this and learn it brick-by-brick
http://www.roblox.com/games/248918051/--


while true do the do
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
18 May 2015 03:10 PM
^

Seriously...

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
vacha is not online. vacha
Joined: 06 Jan 2011
Total Posts: 1993
18 May 2015 04:09 PM
*wink*


while true do the do
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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