0

# my health bar is not working and i really need help. any comments?

Edited 18 days ago

the health bar just acts really weird and i have no idea how to fix it

pls help

script:

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

humanoid.HealthChanged:Connect(function(Damage)
script.Parent.Size = UDim2.new(Damage/humanoid.MaxHealth,291,0,22)
end)



heres the properties of it: