Hi, I'm very new to this, and I'm having a hard time understanding why my code isn't working.
score = 500
if score > 100 then
Script.Parent.BrickColor = BrickColor.new("Really red")
else
script.Parent.BrickColor = BrickColor.new("Really blue")
end
If the variable 'score' is less than 100 the brick changes to the color 'Really blue' as expected. It's only when I make 'score' above 100, (like in the above example), where the brick color remains unchanged? Why is this?

6 comments
Thank you, and sorry for wasting your time with a stupid mistake!
Everybody makes mistakes, it's part of the learning process!
Do I mark this post as answered and give reputation by doing so? How do I do that?
If a post correctly answered your question, then go to the bottom of the answer and find the button "accept answer", and click on that
I can't find the accept answer button :/
It's all good, I have plenty reputation so I don't really need any more of it