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
Hi again!
So i tried your code:
if (!win) then
lossCount += 1
else
if lossCount >= 5 then
lossStartMult = 1
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
base = 0.000000100
lossStartMult = 5
chance = 60
end
But when I start i got this error: string
"chunk":39: attempt to perform arithmetic on global 'startCount' (a nil value) I have tried to look online for the solution but i'm pretty lost. Just to remind, the idea is that when we got a 5 red streak and we start to apply the multiplier, after winning we will set for 100 bets a losstartmult to 1 (or any value, lower). I really appreciate your help, I hope to make it work because the script works very well but with this add it will be the ultimate script lol. Thanks again!