ZINTICK
(ZILLY)
#1
-
What do you want to achieve? i want to know what continue is
-
What is the issue? i dont know how
after seeing this post i want to know Continue does not work? - Help and Feedback / Scripting Support - DevForum | Roblox
if yourCool then Continue end-- what is this
It’s a statement that can be used in loops to make the loop go to the next iteration
for i = 1, 10 do
if i == 3 then continue end
print(i)
end
--Expected output
1
2
4
5
--And so on
Here if i is 3, then the loop goes to the next iteration.
It’s similar to break
in the sense that they’re usable in loops only, but break
is used to completely stop a loop
1 Like