Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Unknown error? Unable to query property Health_XML. It is not scriptable

Asked by 9 years ago

I have no clue what this error is, I have never seen it before in my honest life.

I am creating a respawn script for an npc, and here is what I have so far!

01local char = script.Parent
02local head = char.Head
03local lleg = char["Left Leg"]
04local rleg = char["Right Leg"]
05local larm = char["Left Arm"]
06local rarm = char["Right Arm"]
07local torso = char.Torso
08local humanoid = char.Humanoid
09local name = script.Parent.Name
10local clight = game.Lighting:FindFirstChild(name)
11local isready = false
12 
13humanoid.Changed:connect(function(property)
14     local fvalue = humanoid[property]
15     local value = tonumber(fvalue)
View all 34 lines...

The error that comes up is at Line 14, The error:

23:12:53.444 - Unable to query property Health_XML. It is not scriptable 23:12:53.446 - Script 'Workspace.urmom.Script', Line 14 23:12:53.448 - Stack End

Does anyone have a clue as to why this happens?

Answer this question