Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- targetprofit = balance * 1.1
- chance = math.random(5,90)
- base = balance * 0.00000500
- nextbet = base
- losecount = 0
- a = 0
- c = 0
- function dobet()
- print("losecount: " .. losecount)
- if balance >= targetprofit then
- stop()
- end
- if a > c then
- bethigh = not bethigh
- a = 0
- end
- if c > 3 then
- bethigh = not bethigh
- c = 0
- end
- if win then
- a += 1
- nextbet = base
- chance = math.random(5, 90)
- losecount = 0
- else
- c += 1
- if lastBet.chance < 10 then
- if lastBet.chance == 2 then
- nextbet = previousbet * 1.0233
- chance = 2
- end
- if lastBet.chance == 3 then
- nextbet = previousbet * 1.0333
- chance = 3
- end
- if lastBet.chance == 4 then
- nextbet = previousbet * 1.0444
- chance = 4
- end
- if lastBet.chance == 5 then
- nextbet = previousbet * 1.0555
- chance = 5
- end
- if lastBet.chance == 6 then
- nextbet = previousbet * 1.0644
- chance = 6
- end
- if lastBet.chance == 7 then
- nextbet = previousbet * 1.0744
- chance = 7
- end
- if lastBet.chance == 8 then
- nextbet = previousbet * 1.0844
- chance = 8
- end
- if lastBet.chance == 9 then
- nextbet = previousbet * 1.0944
- chance = 9
- end
- end
- if lastBet.chance >= 10 then
- chance = 25.9999999
- losecount += 1
- nextbet = previousbet * 1.33
- if (losecount >= 6) then
- nextbet = previousbet * 1.33
- chance = 10
- end
- if (losecount >= 10) then
- nextbet = previousbet * 1.33
- chance = 20
- end
- if (losecount >= 12) then
- nextbet = previousbet * 1.33
- chance = 10
- end
- if (losecount >= 16) then
- nextbet = previousbet * 1.55
- chance = 28
- end
- if ( losecount >= 18) then
- nextbet = previousbet * 1.5
- chance = 13
- end
- if ( losecount >= 19) then
- nextbet = previousbet * 1.51
- chance = 14.3
- end
- if (losecount >= 20) then
- nextbet = previousbet * 1.53
- chance = 15.5
- end
- if (losecount >= 21) then
- nextbet = previousbet * 1.56
- chance = 16.2
- end
- if (losecount >= 22) then
- nextbet = previousbet * 1.56
- chance = 16.68
- end
- if (losecount >= 23) then
- nextbet = previousbet * 1.56
- chance = 17.18
- end
- if (losecount >= 25) then
- nextbet = previousbet * 1.3
- chance = 33
- end
- if (losecount >= 31) then
- nextbet = previousbet * 1.3
- chance = 40
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement