chance = 66.
66
multiplier=1.5
multiplier2=0.92
base=0.0000150
nextbet = base
target =.005
investtarget = .1
tmpprofit = 0
investprofit = 0
wincount = 10
startbalance = balance
function dobet()
     tmpprofit += currentprofit
     investprofit+= currentprofit
      if win then
            if(tmpprofit > target) then
                  print("TMPPROFIT is greater than our target Resessting to Base")
                  tmpprofit = 0
                  nextbet = base
                  sleep(1000);
                  if(investprofit > investtarget) then
                        investprofit = 0
                        invest(balance - startbalance)
                  end
            else
                  print("Since we havent reached our target times last bet by
multiplier2")
                  nextbet = previousbet*multiplier2
                  if(nextbet < base) then
                  sleep(1000)
                  print("nextbet is less than base bet so its now base bet")
                  nextbet = base
            end
      end
else
            sleep(1000)
            print("We have lost so we are timzing by multiplier1")
            nextbet = previousbet*multiplier
            if(nextbet < base) then
                  print("Lower than base bet so now basebet")
                  nextbet = base
            end
      end
end