Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fraction = 100000
- basebet = balance/fraction
- chance = 49.5
- nextbet = basebet
- bethigh = false
- google = balance
- com = balance
- now = 0
- nob = 0
- nib = 0
- go = 0
- bill = 0
- bob = balance
- target = 15000
- resetstats()
- function dobet()
- none = math.random(2,3)
- if !win then
- now+=1
- bill+=1
- go+=1
- else
- nob+=1
- go = 0
- now = 0
- end
- if (math.fmod(bill,none)==0) and !win then
- bethigh = !bethigh
- end
- if (now>1) then
- nextbet = previousbet*1.5
- end
- if (nob==1) then
- nextbet = previousbet*3
- nob = 0
- end
- if nextbet<basebet then
- nextbet = basebet
- end
- if (nextbet>=google-balance) then
- basebet = balance/fraction
- nextbet = basebet
- end
- if (balance>=google) then
- basebet = balance/fraction
- nextbet = basebet
- bob = balance
- nob = 0
- nib = 0
- now = 0
- google = balance
- end
- if balance>target and win then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement