while wait() do
print(flag.BrickColor)
if flag.BrickColor == BrickColor.new("Really blue") then
print("1")
valuesfolder.Flag3.Value = BrickColor.new("Really blue")
end
end
It prints "Really blue" over and over in the output, but it doesn't print "1"? What is the problem? Their is no error in the output either, and this is the full script.

2 comments
This can't be the whole code. You haven't defined "flag" and it prints?
Oh, well flag is just script.Parent, and it prints on line 2, it's like 3 where it's stopping. Basically what line 3 is saying "Really blue" == "Really blue" but for some reason it doesnt work