Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local currentIndex = 1
- local arr = {1,2,3,4,5,6}
- for index = currentIndex, 11 do
- print( #arr+1 - index)
- end
- local index=1
- local maxIndexs=9
- for i=1,20 do
- index = index%(maxIndexs)-1 print(index+2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement