Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- target = balance * 1.01
- stoplose = balance * 0.5
- ----
- function r(x,y)
- return math.random(x,y)
- end
- a = 0
- b = balance * 10 / (10^8)
- c = {low={5,10},high={15,30}}
- d = {1.16,1.65}
- f = false
- nextbet = b
- chance = r(c.low[1],c.low[2])
- bethigh = true
- resetstats()
- function dobet()
- e = previousbet
- if win then
- if f then stop() end
- a = 0
- else
- a = a + 1 end
- if (a == 0) then
- m = r(c.low[1],c.low[2])
- n = b
- else
- m = r(c.low[1],c.low[2])
- n = e * d[1]
- end
- if (a >= 20) then
- m = r(c.high[1],c.high[2])
- n = e * d[2]
- end
- if a > 35 then f = true end
- if balance > target then stop() end
- if balance < stoplose then stop() end
- chance = m
- nextbet = n
- bethigh = r(1,2)==1
- if profit < 0 then sleep(1000) end
- print("=====================")
- print("BELI CABAI")
- print("Profit : "..string.format("%.8f", profit))
- print("Final Balance : "..string.format("%.8f", balance))
- print("=====================")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement