ferano
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 5094 |
|
|
| 13 Mar 2016 01:47 PM |
| So I have the health bar curl around a circle for this game, my question is how do I make the health bar curl around? I understand I can just add a manual image, however to make this I am basing the size of the bar based on the players health |
|
|
| Report Abuse |
|
|
ferano
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 5094 |
|
| |
|
Clirex
|
  |
| Joined: 22 Jun 2012 |
| Total Posts: 2477 |
|
|
| 13 Mar 2016 02:04 PM |
| can you please explain more |
|
|
| Report Abuse |
|
|
ferano
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 5094 |
|
|
| 13 Mar 2016 03:02 PM |
| I'm not sure how to further explain this :/ |
|
|
| Report Abuse |
|
|
|
| 13 Mar 2016 04:18 PM |
https://gyazo(DOT)com/ed8447841f9736678d6efaa519f84a04
I think he means something like this |
|
|
| Report Abuse |
|
|
ferano
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 5094 |
|
| |
|
ferano
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 5094 |
|
|
| 13 Mar 2016 04:22 PM |
| But who said anything about he? |
|
|
| Report Abuse |
|
|
gum444
|
  |
| Joined: 06 May 2011 |
| Total Posts: 549 |
|
|
| 13 Mar 2016 04:27 PM |
this is a bit complex, but I think you should make a thing like this,
local player = game.Players.LocalPlayer local character = player.Character if character.Health.Value = <=100 then --do gui stuff here. (this is the complex part) end
the gui part would consist of multiple curves that would appear only if the characters health was a certain amount of health, like if there was 50 health in the player, 5/10 of the curves would appear on screen. if there was like 10 health, 1/10 of the curves would appear.
keep in mind that script would need to be cloned into all players that join. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 13 Mar 2016 04:44 PM |
There isnt any easy way to do that. You'll need like 100 guis all in a curve. Lol good luck m8
|
|
|
| Report Abuse |
|
|