any idea about how to make the script change for a certain amount of bets? I've managed to change it from 5, let's say to 1 red streak, but i would like the script to do this change to 1 for example for 100 rolls, and then go back to 5 red streak. Do you have any idea on how to do it? Maybe with numbet? thanks!
That is exactly what my code example was doing... when you lose, and the lossCount is >= 5, it reset your lossStartMult to 4... and then started a counter (lossStartMultCounter)...
every roll it would increment the lossStartMultCounter... and then if it got to big (ie. your target number "xNumberOfBets") then it would reset the lossStartMult back to the initial value and then reset the counter as well...
You could also use numbets, which is probably a lot cleaner

:
if (!win) then
lossCount += 1
else
if lossCount >= 5 then
lossStartMult = 4
startCount = numbets -- save starting point
end
lossCount = 0
end
if numbets >= startCount + 100 then
-- it has been 100 bets since we changed stuff
-- reset all the values here
end