local Roof = script.Parent.Parent.Glass:GetChildren()
function ToggleCeiling()
if script.Parent.Parent.State.Value == false then
script.Parent.Parent.State.Value = true
script.Parent.BrickColor = BrickColor.new("Bright red")
Roof.BrickColor = BrickColor.new("Really white")
Roof.Transparency = 0.7
Roof.Material = "Plastic"
else
script.Parent.Parent.State.Value = false
script.Parent.BrickColor = BrickColor.new("Bright green")
Roof.BrickColor = BrickColor.new("Really black")
Roof.Transparency = 0
Roof.Material = "Wood"
end
end
script.Parent.ClickDetector.MouseClick:connect(ToggleCeiling)
This only changes the color of the brick I am clicking. It won't change the other bricks.

3 comments
Yes. They are all parts.
Can you change the script for me? I just don't get it.
Just PM me it