I have a computer that when you complete an objective, it’s screen turns green. However, I want the colour of a projector to equal the computer’s colour.
Would this Sudo code work?
MatchingColour = Computer.BrickColour
Projector.BrickColour = MatchingColour

9 comments
Use Enums.
if Brick.BrickColor == Enum.Brickcolor.ColorYouWant then do whatever.
^ Something like that.
why not just compare it with
BrickColor.new()??You could also just use the Color3, I just use Projector.Color3 = Color3.fromRGB(Computer.Color3)
I absolutely dislike brickcolor
Also, fellow non-American I see with "ColoUr" xDD
The reason this doesn't work is cause you said "BrickColur" should you should have used BrickColor.
Use BrickColor as british word "Colour" does not work in lua