Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fraction = 50000
- basebet = balance/fraction
- nextbet = basebet
- result = {0,0,0,0}
- i = 1
- winz = 0
- chance = 24.975
- oldbal = balance
- target = 50000
- resetstats()
- function dobet()
- if win then
- result[i]=1
- else
- nextbet = previousbet
- result[i]=0
- end
- i = i+1
- if (i==4) then
- i = 1
- end
- winz = result[1]+result[2]+result[3]+result[4]
- if (winz==2) and winz<3 then
- nextbet = previousbet*2
- result[i]=0
- else
- nextbet = previousbet
- end
- if !win then
- nextbet = previousbet
- end
- if (balance>=(oldbal+(basebet*10))) then
- nextbet = balance/fraction
- result[i]=0
- oldbal = balance
- end
- if balance>target then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement