(This will repeat setting its color to purple while ValueB = 1. Alternatively you can change the condition to a Not Equals for Repeat Until conditions.)
You could also use a Repeat Forever which continually checks if something meets a condition and stops when it doesn’t. Credits to AwesomeCilantro for this!
What’s interesting to me about this project is that when you run it multiple times, each time it will be more and more prone to crashing. It’s as if the CPU decides to dedicate more RAM to the app because it noticed an overload in a previous session of the app… intriguing. :o