I have a block, there is a value inside of it called AirValue. AirValue's value slowly increases and resets back to 0. This script is supposed to make the block white, it does not do that though! here is the script
repeat
wait(0.5)
if script.Parent.Parent.Parent.AirValue.Value < 10 then
script.Parent.BrickColor = "White"
elseif script.Parent.Parent.Parent.AirValue.Value > 10 then
script.Parent.BrickColor = "Bright blue"
end
until 9 + 10 == 21
Please help!!! Thank you!

2 comments
yogi, I would also suggest you read my answer. It is good practice to avoid using loops, such as this, unless you absolutely need them.
I am sorry, i haven't run into ANY problems using this way of repeating, in any of my games, thanks though!