labelWood = script.Parent.labelWood
labelIron = script.Parent.labelIron
labelPlanks = script.Parent.labelPlanks
labelStone = script.Parent.labelStone
local valueWood = script.Parent.Values.valueWood.Value
local valueIron = script.Parent.Values.valueIron.Value
local valuePlanks = script.Parent.Values.valuePlanks.Value
local valueStone = script.Parent.Values.valueStone.Value
valueWood.Changed:connect(function()
labelWood.Text = "Wood:" valueWood ""
wait()
end)
valueIron.Changed:connect(function()
labelIron.Text = "Iron:" valueIron ""
wait()
end)
valuePlanks.Changed:connect(function()
labelPlanks.Text = "Planks:" valuePlanks ""
wait()
end)
valueStone.Changed:connect(function()
labelStone.Text = "Stone:" valueStone ""
wait()
end)
It is meant to be basic, but it makes no sense as to why it is givving me an error as soon as it starts the valueWood function on Line 11. Any and all help is greatly appreciated as I need to finish this game soon.
