local Player = game.Players.LocalPlayer
local Humaniod = Player.Character.Humaniod
local Health = script.Parent
while wait()do
Health.Size = UDim2.new((Humaniod.Health / Humaniod.MaxHealth)*0.975,0,0.9,0)
if Humaniod.Health <= 50 then
Health.BackgroundColor3 = Color3.new(181,0,0)
end
if Humaniod.Health <= 25 then
Health.BackgroundColor3 = Color3.new(181,0,0)
end
end
16:50:16.207 - Humaniod is not a valid member of Model~~~~~~~~~~~~~~~~~
``[[](http://)](http://)``

3 comments
You've misspelt Humanoid
https://scriptinghelpers.org/help/how-post-good-questions-answers
Fixed formatting