Ok... that sort of clears things up a little bit

This should give you an idea of how to do it... if at any time you want to reset all the way back... just set count = 1
chances = {11,12,13}
bets = {1000,2000,3000}
increase = {1.16,1.17,1.18} -- 16%, 17% and 18%
count = 1
... do all your other stuff ...
chance = chances[count]
nextbet = bets[count]
function dobet()
if (win) then
... win stuff ...
count = count + 1
if count > #chances then
count = #chances -- Don't go over max array size
chance = chances[count]
nextbet = bets[count]
else
... loss stuff ...
chance = chances[count]
nextbet = previousbet * increase[count]
end
... whatever else you want ...
end