Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = {0.10,0.50,0.75,1.25}
- a = 6
- b = balance/(10^a)
- c = {b*x[2],b+(b*x[1]),b*500}
- d = {0,0,0,0}
- h = balance * x[4]
- nextbet = b
- chance = 60
- resetstats()
- function r(x,y) return math.random(x,y) end
- function dobet()
- m = not m
- d[4] = previousbet
- p = balance
- d[3] += currentprofit
- if d[3] > 0 then
- d[1] = 0
- d[2] = 0
- d[3] = 0
- o = r(88,90)
- n = c[1]
- end
- if (win) then d[2]=0 else d[2]+=1 end
- if (d[2] >= 1) then o=r(11,22) end
- if (d[2] == 8) then n=d[4]+(b*x[1]) end
- if (n >= c[2]) then n=c[1] d[1]+=r(1,3) end
- if (d[1] > 1) then
- d[1] += 1
- o = 20
- n = d[4] * 2
- if (win) then
- d[1] -= 1
- n = d[4] * x[3]
- else
- o = r(6,7)
- n = d[4] * x[4]
- end
- if n > c[3] then
- o = r(11,66)
- n = d[4] * x[4]
- end
- end
- if p > h then stop() end
- bethigh = m
- nextbet = n
- chance = o
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement