If I have a for loop running can I somehow break it without the line of code that breaks it being inside the loop?
What I usually do
local broken = false
for i = 1,60 do
if broken == true then break end
wait(1)
end
What I want to do
for i = 1,60 do
wait(1)
end
break() -- a function that just breaks the loop
|