@Xikini
Sorry about that, but they are the same script with my tries to solve my problem.
But, talking about you said now, I don't know if is it "if b == -1 then b = 1 end" the problem, because, if you see my second reply, I put two scripts, one that works and another that not. And the script...