Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to break a For loop using If statement?

SOLVED

7 comments

0

You need double equals (==) when comparing values

0

It still didn't work.

0

There's no way to tell if that loop works since it doesn't output anything

0

ok

0

you need to print(i) before break in order to test if it works

0

Ok

0

Don't replace your question with "Solved" as other players might be able to use your question to help them.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.