Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fraction = 50000
- basebet = balance/fraction
- base = balance/fraction
- chance = 24.975
- nextbet = basebet
- bethigh = false
- oldbal = balance
- old = balance
- target = 50000
- bim = false
- zim = 0
- resetstats()
- function dobet()
- if !win then
- zim+=1
- else
- zim=0
- end
- if (zim>=(math.random(3,8))) then
- nextbet = previousbet*2
- basebet = nextbet
- bim = true
- zim = 0
- end
- if balance>=oldbal and bim==true then
- nextbet = balance/fraction
- basebet = balance/fraction
- bim = false
- old = balance
- oldbal = balance
- end
- if (balance>=(oldbal+(basebet*2))) and win then
- nextbet = previousbet*2
- oldbal = balance
- bim = true
- end
- if (balance>=(old+(basebet*5))) and win then
- nextbet = balance/fraction
- basebet = balance/fraction
- old = balance
- oldbal = balance
- bim = false
- end
- if (balance>=target) then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement