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

How do i fix this error?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
Nen = script.Parent.Parent.Parent.Parent.Parent.Nen
x = script.Parent
print("Running")

function Changed()
    x.Size = UDim2.new(Nen.Value/100, 0, 1, 0)
    if Nen.Value < 1 then
        Nen.Value = 100
    end
end

Nen.Changed:connect(Changed)

03:16:33.672 - Nen is not a valid member of Player 03:16:33.673 - Script 'Players.kingalpha1.PlayerGui.Nen.Backing.Bar.Main', Line 1 03:16:33.673 - Stack End

I have it to were a number value named "Nen" is inserted to the player with the value of 100.

1
Are you sure the path to Nen is correct? VariadicFunction 335 — 9y
0
What is Nen, and where is it? Discern 1007 — 9y

Answer this question