Reshaped
|
  |
| Joined: 23 Oct 2013 |
| Total Posts: 4110 |
|
|
| 17 Feb 2014 12:22 AM |
I want to make it so that your health falling shows on the health gui? How?
bin = script.Parent
function onTouched(part) part.BrickColor = BrickColor.new(11) part.Transparency = .5 part.Anchored = true wait(2) part.Parent.Humanoid.Health = 0 part.Anchored = false wait(2) end
connection = bin.Touched:connect(onTouched)
~We Build on Each Other~ |
|
|
| Report Abuse |
|
|
| 17 Feb 2014 01:07 AM |
Not sure exactly if this is what you want, but this will make it decline from current to 0.
Replace: part.Parent.Humanoid.Health = 0
With this:
for i = part.Parent.Humanoid.Health, 0 do wait() part.Parent.Humanoid.Health = i end |
|
|
| Report Abuse |
|