Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- y = balance/36
- x = y
- chance = 49.95
- bethigh = false
- nextbet = y
- target = 500
- old = balance
- elf = y
- myseed = 0
- bob = y
- Low = 0
- High = 499499
- myseed = 0
- kil = 0
- vim = false
- function dobet()
- xol = math.random(1,3)
- if win then
- elf = elf+previousbet
- bob = bob-previousbet
- kil = 0
- else
- elf = elf-previousbet
- bob = bob+previousbet
- kil = kil+1
- end
- if kil>=3 then
- 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
- end
- clientseed = myseed
- 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*3)) then
- nextbet = previousbet*2
- x = nextbet
- bob = x
- vim = true
- end
- if (nextbet>=y*4) and vim==true then
- nextbet = y
- x = y
- elf = y
- bob = y
- end
- if (nextbet>=(y*2)) and (balance>=old) then
- nextbet = y
- x = y
- elf = y
- bob = y
- vim = false
- old = balance
- end
- if balance>target then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement