Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bethigh = false
- minchance = 5
- maxchance = 40
- chance = math.random(minchance,maxchance)
- base = 0.010
- curbet = base
- nextbet = base
- winStreak = 0
- loseStreak = 0
- maxBalance = balance
- target = maxBalance*1.2
- loseAmount = 0
- rnd = 2
- round = 0
- roundd = 0
- loss = 0;
- n = 0
- sbalance = balance
- strategy = 1
- profit = 0
- largestProfit = 0
- lose = 0
- function dobet()
- if balance>target then
- print("TARGET REACHED")
- msg_goal = " ( Target : " .. string.format("%.8f", target) .. " )"
- print("Profit : " .. string.format("%.8f", profit))
- stop()
- end
- if profit>=largestProfit then
- largestProfit=profit
- loseAmount=0
- else
- loseAmount=largestProfit-profit
- end
- if !win then
- loss=loss+1
- lose=lose+1
- else
- lose=0
- end
- if loseAmount<=0 then
- minchance = 15
- maxchance = 66.45
- chance = math.random(minchance,maxchance)
- rnd= math.random(1,2)
- if rnd==1 then
- bethigh=!bethigh
- end
- if rnd==1 then
- strategy=1
- else
- strategy=2
- end
- curbet=balance/1000000
- nextbet=curbet
- round=0
- rnd= math.random(1,3)
- else
- round=round+1
- if strategy==1 then
- bethigh=!bethigh
- chance = math.random(chance-5,chance)
- if chance<=5 then
- chance=50
- end
- if chance<=35 then
- nextbet=loseAmount/(99/chance-1)
- end
- else
- if round%rnd == 0 then
- chance = math.random(minchance,maxchance)
- rnd= math.random(1,2)
- if rnd==1 then
- bethigh=!bethigh
- end
- end
- if round%10 == 0 then
- if loss>7 then
- nextbet=nextbet*1.5
- end
- end
- if loseAmount<=base*1000/100 or nextbet>(loseAmount/(99/chance-1)) or lose>=15 then
- nextbet=loseAmount/(99/chance-1)
- end
- end
- end
- if nextbet<base then
- nextbet=base
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement