Here is my updated script (thanks everyone!):
if game.Workspace.Light1.BrickColor == ("Bright yellow")and
game.Workspace.Light2.BrickColor == ("Bright yellow")and
game.Workspace.Light3.BrickColor == ("Bright yellow") then
game.Workspace.Door1.Position = Vector3.new(-49, 6.99, 8.5)
game.Workspace.Door2.Position = Vector3.new(-60, 6.99, 8.5)
end
The door's position doesn't change when all three bricks are Bright yellow?
Help?
Thank you

4 comments
Thank you, but in order to make the doors change positions, will my script work?
They should change positions, if you follow my advice in the answer. Otherwise, they won't.
Okay, I changed the BrickColor part, and I only need the script to check once, to open the doors once, but nothing happened?
If you just put an if statement inside a script, it will check as soon as the game starts. The bricks might not even be loaded at that time.