Answered by
8 years ago Edited 7 years ago
You're not understanding how a repeat loop works.
A repeat loops is a lot like a while loop, except a while loop checks the condition first, while as a repeat loop checks its condition last.
This answer will help you understand them more.
I'm not sure what this code is even suppose to do, but you're missing an end, and that's basically all the syntax errors fixed.
3 | until Term.BrickColor = = BrickColor.new( "Navy blue" ) |
5 | if TUW < = 1200 and TUW > 0 then |
8 | script.Parent.CT.Text = tostring (TUW) |
If I were to guess I would say you meant to include your conditional statement in the loop:
03 | if TUW < = 1200 and TUW > 0 then |
06 | script.Parent.CT.Text = tostring (TUW) |
10 | until Term.BrickColor = = BrickColor.new( "Navy blue" ) |
If this isn't the answer you were looking for, please explain more what it is you're trying to do.
More Info.
Locked by OldPalHappy
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?