of     1   

Iriesoja
#140604384Thursday, July 17, 2014 5:48 AM GMT

like an artificial health gui; if i were to have a value that decreases; how would I make the health gui deplinish with it?
Fidgeting
#140604637Thursday, July 17, 2014 5:50 AM GMT

script.Parent represents the healthbar local player = game.Players.LocalPlayers while true do hel = player.Character.Humanoid.Health if hel <= 25 then script.Parent.Size = UDim2.new(hel*0.006,0,0.400000006,0) script.Parent.Text = hel script.Parent.BackgroundColor = BrickColor.new ("Bright red") else script.Parent.Size = UDim2.new(hel*0.006,0,0.400000006,0) script.Parent.Text = hel script.Parent.BackgroundColor = BrickColor.new ("Bright green") end wait() end
Iriesoja
#140604814Thursday, July 17, 2014 5:52 AM GMT

thanks;

    of     1