#Hp bar display error

3 messages · Page 1 of 1 (latest)

acoustic crag
#

try this

#

before i published my game the health bar was wworking fine now that i did it no longer displays players current hp ive been rewritting the codes for a bit but cant find the fix here the current code

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

humanoid.HealthChanged:Connect(function(Damage)
    script.Parent.Health.Size = UDim2.new(Damage / humanoid.MaxHealth, 0, 1, 0)

end
     end)

`ˋ`
sick perchBOT
#

studio** You are now Level 3! **studio