Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bob = balance/50000
- crypt = bob
- god = (bob*3)
- have = balance
- oldbal = balance
- ian = balance
- good = balance
- dipper = balance
- joe = false
- chance = 49.5
- nextbet = bob
- target = 5000
- bethigh = false
- resetstats()
- function dobet()
- if (balance<=(have-god)) then
- nextbet = crypt*2
- crypt = crypt*2
- joe = true
- god = (crypt*5)
- have = balance
- end
- if (balance>(have+(crypt*6))) then
- nextbet = crypt*2
- crypt = crypt*2
- joe = false
- god = (crypt*5)
- have = balance
- end
- if (balance>(ian+(bob*10))) then
- nextbet = bob
- crypt = bob
- god = (bob*3)
- ian = ian+((math.floor((balance-ian)/(bob*10)))*(bob*10))
- have = ian
- joe = false
- end
- if ((balance>ian) and (joe==true)) then
- nextbet = bob
- crypt = bob
- god = (bob*3)
- joe = false
- have = ian
- ian = ian
- end
- if (nextbet>=balance) then
- stop()
- end
- if (balance>=target) then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement