Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chance = 33
- multiplier = 1.525
- base = 0.00000001
- nextbet = base
- bethigh = false
- rollcount = 7
- function dobet()
- --Randomizer
- r=math.random(2)
- if r == 1 then
- bethigh=true
- else
- bethigh=false
- end
- --Randomly select High/Low
- --bethigh = math.random(0,100)%2 == 0
- --change seed every 7 bet
- if rollcount == 7 then
- rollcount = 0
- resetseed();
- else
- rollcount = rollcount + 1
- end
- if (balance) < (nextbet) then
- stop();
- print(balance)
- print("INSUFFICIENT FUNDS-SALDO INSUFICIENTE!")
- end
- --bet progression
- if win then
- nextbet = base
- else
- nextbet = previousbet * multiplier
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement