Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fraction = 50000
- basebet = balance/fraction
- base = basebet
- chance = 80
- nextbet = basebet
- bethigh = false
- oldbal = balance
- target = 50000
- sux = 0
- wage = 0
- function dobet()
- wage = wage+previousbet
- if (not win) and (chance==80) then
- nextbet = previousbet*2
- chance = 24
- end
- if (not win) and (chance==24) then
- nextbet = ((wage/3)+basebet)
- sux = sux+1
- end
- if (win) and (chance==24) then
- sux = 0
- chance = 80
- end
- if (sux>=5) then
- nextbet = wage*10
- chance = 80
- sux = 0
- end
- if (balance>=oldbal) then
- nextbet = basebet
- sux = 0
- wage = 0
- oldbal = balance
- end
- if (balance>=target) then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement