chance=49.5 multiplier=2 base=0.00000010 function dobet() if win then nextbet=base else nextbet=previousbet*multiplier