Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fraction = 200
- basebet = balance/fraction
- nextbet = basebet
- bethigh = false
- chance = 24
- target = 500000
- 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(2,4))) 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/2
- end
- if nextbet<=basebet then
- nextbet = basebet
- end
- if balance>james then
- nextbet = basebet
- james = balance
- end
- if balance>target then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement