Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Idk why it isnt working i see no fault?

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

0

You've misspelt Humanoid

0

Fixed formatting

2 answers

One: Humanoid isn't spelled Humaniod. That's the only problem. Two: You're not using LUA converter correctly, so it's hard for some of us to read. Thanks ^^; -Nickyninja07 also pointed out the Humanoid incorrect spelling.

The mistake I clearly see (no offence) is spelling "humanoid" as "humaniod" "Model.Humaniod" doesn't exist, while "Model.Humanoid" does.

This discussion is preserved as it was. New answers, comments, and votes are closed.