Here is my script:
if Light1.BrickColor = ("Bright Yellow") Light2.BrickColor = ("Bright Yellow") Light3.BrickColor = ("Bright Yellow") then Door1.Position = -49, 6.99, 8.5 Door2.Position = -54, 6.99, 8.5 end
The error is in the first line. It says, " 'then' expected near '=' "
Help?
Thank you!
if Light1.BrickColor == ("Bright Yellow")and Light2.BrickColor == ("Bright Yellow")and Light3.BrickColor == ("Bright Yellow") then Door1.Position = Vector3.new(-49, 6.99, 8.5) Door2.Position = Vector3.new(-54, 6.99, 8.5) end