Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- y = balance/320
- x = y
- chance = 49.95
- bethigh = false
- nextbet = y
- target = balance*1000
- old = balance
- elf = y
- myseed = 0
- bob = y
- Low = 0
- High = 499499
- myseed = 0
- function dobet()
- xol = math.random(1,3)
- if (xol==1) then
- myseed = math.random(7777,9999)
- end
- if (xol==2) then
- myseed = math.random(50000,77777)
- end
- if (xol==3) then
- myseed = math.random(50,99)
- end
- clientseed = myseed
- if win then
- elf = elf+previousbet
- bob = bob-previousbet
- else
- elf = elf-previousbet
- bob = bob+previousbet
- end
- if bob<y then
- bob=y
- end
- if elf<y then
- elf=y
- end
- if (elf>=(x*6)) then
- nextbet = previousbet*2
- x = nextbet
- elf = x
- end
- if (bob>=(x*4)) then
- nextbet = previousbet*2
- x = nextbet
- bob = x
- end
- if (nextbet>=(y*2)) and (balance>=old) then
- nextbet = y
- x = y
- elf = y
- bob = y
- old = balance
- end
- if balance>target then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement