The Code In StarterCharacterScript -
local char = script.Parent
char.Changed:connect(function()
print("ads")
local hum = char.Humanoid
local health = hum.Health
local maxHealth = hum.MaxHealth
char.Head.HealthBar.GreenBar.Size = UDim2.new(health/maxHealth,0,1,0)
end)
Also the Billboard GUI is in the characters head
Problem -
Whenever the humanoid takes damage the green bar wont scale to its health.
Also its a billboard GUI in the players head

5 comments
i dont think im correct, but dont you have to make it Health Changed?
use a humanoid.HealthChanged event
i tried that
You did not specify what the problem is.
oh ye ill add that srry