V0xels
|
  |
| Joined: 30 Mar 2012 |
| Total Posts: 2072 |
|
|
| 03 Mar 2014 08:12 PM |
No output error, in localscript.
game.Players.ChildAdded:connect(function()
while wait() do health = p.Humanoid.Health bar = script.Parent bar.Size = UDim2.new(0, health*2, 1, 0) end end) |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2014 08:13 PM |
" game.Players.ChildAdded:connect(function()" whats with this line??
while wait() do health = p.Humanoid.Health--is "p" the players character?? bar = script.Parent bar.Size = UDim2.new(0, health*2, 1, 0) end end) |
|
|
| Report Abuse |
|
|
YumERAGON
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 3893 |
|
|
| 03 Mar 2014 08:14 PM |
function(p)
p.Character.Humanoid.Health |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2014 08:17 PM |
game.Players.PlayetAdded:connect(function(p)
while wait() do health = p.Character.Humanoid.Health bar = script.Parent bar.Size = UDim2.new(0, health*2, 1, 0) end end)
|
|
|
| Report Abuse |
|
|
YumERAGON
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 3893 |
|
|
| 03 Mar 2014 08:19 PM |
ty warpsy
but wtf is plater |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2014 08:21 PM |
| Bare with me, I'm using an iPod. It's Player |
|
|
| Report Abuse |
|
|