In a "for" "do" loop, have can you have more than one set of rules happening at once, for instance having:
'i' decreasing to 0, whilst 'a' increases to 2.
I would have imagined it would look like this, but it does not seem to work:
for i=1, 0, -0.1 do
for a=1, 0, 0.1 do
wait(0.5)
print(i)
print(a)
end
end
This is obviously just a scenario, however how do I get them both to count simultaneously on the output?

1 comment
You created a nested for loop, which is very useful for other things later.