Advertisement
Dreddine

mining

Aug 14th, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.05 KB | None | 0 0
  1. --V8 DOGE Fishing v2
  2. --https://youtu.be/c7QOv6eUx94
  3.  
  4. chance      = math.random(8000,8500)/100
  5. bigchance   = math.random(7500,8500)/100
  6. smallchance = 100 - bigchance
  7. div         = 10000
  8. base        = balance/div
  9. bethigh     = false
  10.  
  11. go = true
  12. wincount = 0
  13. losecount = 0
  14. ----------------------------
  15. target      = balance+65
  16. stoploss    = balance-80
  17. ----------------------------
  18. nextbet = base
  19. a = base
  20. multi = 1.3
  21. resetseed()
  22. counter = 0
  23. function dobet()
  24.     rstseed()
  25. if balance-nextbet >= target then
  26.     stop()
  27.     ching()
  28.     resetseed()
  29.   print(balance)
  30.   print("TARGET ACHIEVED!!!")
  31.   print("You Won")
  32.   print("Profit: " .. string.format("%9.8f", profit) )
  33.   print("for this Session")
  34. end
  35.  
  36. if balance-nextbet <= stoploss then
  37.     stop()
  38.     ching()
  39.     resetseed()
  40.   print(balance)
  41.   print("ALARM!!!")
  42.   print("You Lose")
  43.   print("Profit: " .. string.format("%9.8f", profit) )
  44.   print("for this Session")
  45. end
  46.  
  47. if wincount == 6 then
  48.     resetseed()  
  49.     bethigh=!bethigh
  50.     wincount = 0
  51. end
  52.  
  53. if win and go then
  54.     wincount+=1
  55.     nextbet = balance/div
  56.     bigchance = math.random(7500,8500)/100
  57.     chance = bigchance
  58.     losecount = 0
  59.     a = balance/div
  60.     multi = 1
  61.     go = false
  62. end
  63.  
  64. --***
  65.  
  66. if (!win) then  
  67.     nextbet = previousbet*multi
  68.     losecount+=1    
  69. end
  70.  
  71. if chance >= 75 and (!win) then
  72.     bethigh=!bethigh
  73.         smallchance = 100 - bigchance
  74.     multi = 1.3
  75.     if smallchance < 20 then
  76.         multi = 1.236
  77.     end
  78.     if smallchance >= 20 then
  79.         multi = 1.3388
  80.     end
  81.     go = true
  82.  
  83.     chance = smallchance
  84.     nextbet = a*multi
  85.    
  86. end
  87. if losecount >= 1 then
  88.     go = true
  89.     chance = smallchance
  90. end
  91. if losecount == 5 then
  92.     losecount = 0
  93.     go        = false
  94.     a         = previousbet
  95.     nextbet   = base
  96.     chance    = bigchance
  97. end
  98. print(" ")
  99. print("multi: "..multi)
  100. print("bigchance: "..bigchance)
  101. print(" ")
  102. end
  103.  
  104. function rstseed()
  105.     if counter == 500 then
  106.         resetseed()
  107.         counter = 0
  108.     else
  109.         counter+=1
  110.     end
  111. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement