nevermind, i decided to use a do while loop instead of a for, and for some reason it works now...
Forum Rules