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.

2 comments

1

Are you sure the path to Nen is correct?

0

What is Nen, and where is it?