script.Parent.MouseButton1Down:connect(function() workspace.TwoStoryType1.Value.Value = BrickColor.new("Really blue") script.Parent.Parent.Visible = false script.Parent.Parent.Parent.TwoStoryType1.Visible = true end)
well the script doesnt error in output however it does work the color of the house doesnt change( FIY i have already scripted the house with help from admins on scripting helpers, so the house color already changes depending on the value of the brickcolorvalue)
But if you dont understand my question heres pretty much what im doing im trying to change the value of a brickcolorvalue from a local script
I tried doing what you did and for me it worked so I'll try and show you what I did. For the "script.Parent.Parent.Parent.TwoStoryType1" I assumed that was the same thing as workspace.TwoStoryType1. Correct me if I'm wrong.
script.Parent.MouseButton1Down:Connect(function() local twostory = workspace:WaitForChild("TwoStoryType1") twostory:WaitForChild("Value").Value = BrickColor.new("Really blue") twostory.Visible = true script.Parent.Parent.Visible = false end)