Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fraction = 4000
- basebet = balance/fraction
- nextbet = basebet
- bethigh = false
- chance = 33
- target = balance*10
- james = balance
- zim = 0
- zye = 0
- lye = 0
- fim = 0
- function dobet()
- if !win then
- zim+=1
- else
- zim = 0
- end
- if (zim<=1) then
- nextbet = previousbet
- zye = 0
- else
- zye+=1
- end
- if (zye>=(math.random(1,2))) then
- zim = 0
- nextbet = previousbet*2
- zye = 0
- lye+=1
- end
- if (lye>=2) then
- zye = 0
- lye = 0
- end
- if win then
- nextbet = previousbet
- end
- if nextbet<=basebet then
- nextbet = basebet
- end
- if balance>james and win then
- nextbet = basebet
- james = balance
- end
- if balance>target then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement