Advertisement
cryptomonkey

Flak 88 Flugabwehrkanone

Dec 7th, 2019
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.97 KB | None | 0 0
  1. -- Flak 88 Flugabwehrkanone
  2. -- https://youtu.be/IeqeUyPlRRs
  3.  
  4.  
  5. -- c0.8
  6. -- basebet=bal/1,000,000
  7. -- bets=88
  8. -- increase on loss 0.88%
  9.  
  10.  
  11.  
  12. ------------------
  13. basechance = 0.88
  14. basebet    = balance/1000000
  15. ------------------
  16. nextbet=basebet
  17. chance=basechance
  18. ------------------
  19. bethigh=false
  20. lowhigh     = 1
  21. rollcount   = 0
  22. betcount    = 0
  23. ------------------
  24. stoploss  = balance*0.90
  25. wintarget = balance*1.01
  26.  
  27. function dobet()
  28.  
  29.     -- Check Balance
  30.     if balance-(nextbet) >= wintarget and wintarget ~= 0 then
  31.         print("\n\nWoo-hoo, soon X-mas! :p\n\n")
  32.         print("-------------------------------------------")
  33.         print("  BALANCE: ") print(balance)
  34.         print("-------------------------------------------")
  35.         print("-----------------------------------")
  36.         print("PROFIT:") print(profit)
  37.         print("-----------------------------------")
  38.             resetseed()
  39.             resetstats()
  40.             nextbet = basebet
  41.             stop();
  42.             ching();
  43.     end
  44.    
  45.     if balance-(nextbet) <= stoploss and stoploss ~= 0 then
  46.         print("\n\nOh-nooo - bosted :(\n\n")
  47.         stop()
  48.         ching()
  49.         end
  50.  
  51. if win then
  52.     print("Winner! Chicken dinner!")
  53.     nextbet=basebet
  54.     lowhigh = math.random(0,1)
  55.     betcount=betcount+1
  56.     end
  57.  
  58. if !win then
  59.     betcount=betcount+1
  60.     nextbet  = previousbet*1.0088
  61.     end
  62.  
  63. if betcount==88 then
  64.     print("--------------------------")
  65.     print(" Flak 88 Flugabwehrkanone :p")
  66.     resetseed()
  67.     --stop();
  68.     ching();
  69.     betcount = 0
  70.     print("Dare continue..?")
  71.     print("--------------------------")
  72.     end
  73.    
  74. --sets hi/lo
  75. if (lowhigh == 0) then
  76.     bethigh = false
  77. else
  78.     bethigh = true
  79. end
  80.  
  81. --change seed every 10 rolls/bets
  82. if (rollcount == 10) then
  83.     rollcount = 0
  84.     --resetseed();
  85.     print("-----------------------------------")
  86.     print("PROFIT:") print(profit)
  87.     print("-----------------------------------")
  88. else
  89.     rollcount = rollcount + 1
  90. end
  91.  
  92.  
  93. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement