if x amount of red comes in a row return the scripts to beginning.
"if currentstreak < -preroll"... it checks to see if the losing streak is more than 5 losses in a row... then it starts multiplying.
You can add a "maxlosses" variable... and check that, if exceeded then return to default settings:
chance = 49.50
multiplier = 2
base = 0.00000001
preroll = 5
prebet = 0.00000001
nextbet = 0.00000001
maxlosses = 15
function dobet()
if win then
nextbet=base
else
if currentstreak== -preroll then
nextbet=base
end
if currentstreak < -preroll then
nextbet=previousbet*multiplier
end
if currentstreak < -maxlosses then
nextbet=base
currentstreak = 0
end
end
end
WARNING: I haven't extensively tested this code... use at your own risk
Just tested and works like a charm <3
I just wanted to limit max. looses so it wont be betting in the dark
Thanks a bunch mate you make my day !
Happy new year everyone.