Buttons = script.Parent.Buttons
one = Buttons.Crystal1.Material
two = Buttons.Crystal2.Material
three = Buttons.Crystal3.Material
four = Buttons.Crystal4.Material
five = Buttons.Crystal5.Material
six = Buttons.Crystal6.Material
seven = Buttons.Crystal7.Material
eight = Buttons.Crystal8.Material
if one == "Neon" and two == "Neon" and three == "Glass" and four == "Neon" and five == "Glass" and six == "Neon" and seven == "Glass" and eight == "Glass" then
script.Parent.Test.Transparency = 0.5
end
What I got in the output was:
11:04:27.219 - Attempt to connect failed: Passed value is not a function

2 comments
This was supposed to be a Coded Door BTW.
after every number add a .Name so it's if one.Name == "Neon" ... etc