dicekode

dicekode-faucet2-notedityet

Nov 6th, 2020 (edited)
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.23 KB | None | 0 0
  1. --@ Start Script
  2. base          = 0.01
  3. lossStartMult = 60
  4. bethigh       = false
  5. randomHighLow = true
  6. useDebugInfo  = false
  7. --@ Start Script Vars
  8.  
  9.  
  10. --@ Riset Modal Jika Untung
  11. stopnow   = false
  12. lossCount = 0
  13. maxLosses = lossStartMult + 6
  14. chance    = 5
  15. curbet    = base
  16. nextbet   = base
  17. --@ End Riset Jika Untung
  18.  
  19.  
  20. --@ Riset Jika Modal Tercapai
  21. biggestLossStreak = 0
  22. biggestBet = 0
  23. --@ End Riset Modal
  24.  
  25. target  = 100-- Doge
  26. tprofit = balance + target
  27.  
  28. function dobet()
  29.    
  30.     if(balance >= tprofit) then stop()
  31. print("Target Sudah Sesuai Dengan Modal :v GA lah GA")
  32.  
  33.  
  34. end
  35.  
  36. if (lossStartMult > 61) then
  37.       print("Temukan Loss Sebanyak Yang Mau")
  38.     stop()
  39.   end
  40.  
  41.   if (randomHighLow) then
  42.     if (math.random() < .1) then bethigh = !bethigh end
  43.   end
  44.  
  45.   if (stopnow and win) then
  46.     debugInfo()
  47.     stop()
  48.   end
  49.  
  50.   if (!win) then
  51.     lossCount += 1
  52.   else
  53.     lossCount = 0
  54.   end
  55.  
  56.   if (lossCount < lossStartMult) then
  57.       chance  = math.random(5,7)
  58.       bethigh = !bethigh
  59.  
  60. print ("Biar Dapat Jackop Paus Besar")
  61.  
  62.     curbet  = base
  63.     nextbet = curbet
  64.   end
  65.  
  66.   if (lossCount == lossStartMult) then
  67.       chance = 5.33
  68.       curbet = base * 1.1
  69.     nextbet = curbet
  70.   end
  71.  
  72.   if (lossCount > lossStartMult and lossCount < maxLosses) then
  73.       chance = 6.66
  74.       curbet = curbet * 1.1
  75.     nextbet = curbet
  76.   end
  77.   if (lossCount == maxLosses) then
  78.       chance = 7.77
  79.       curbet = curbet * 1.1
  80.     nextbet = curbet
  81.   end  
  82.  
  83.   if (lossCount > maxLosses) then
  84.       chance = math.random(5,7)
  85. bethigh = !bethigh
  86. curbet  = curbet * 1.1
  87.     nextbet = curbet
  88.   end
  89.  
  90.   if (lossCount > biggestLossStreak) then
  91.     biggestLossStreak = lossCount
  92.   end
  93.  
  94.   if (nextbet > biggestBet) then
  95.     biggestBet = nextbet
  96.   end
  97.  
  98.   if (useDebugInfo) then debugInfo() end
  99. end
  100.  
  101. function debugInfo()
  102.   --print("\nBetHigh = " .. tostring(bethigh))
  103.   --print("Chance = " .. chance)
  104.   --print("Current Bet = " .. string.format("%9.8f", curbet))
  105.   --print("Current Loss Streak = " .. lossCount)
  106.   print("Biggest Loss Streak = " .. biggestLossStreak)
  107.   print("Biggest Bet = " .. string.format("%9.8f", biggestBet))
  108.   print("Total Profit = " .. string.format("%9.8f", profit))
  109. end
Add Comment
Please, Sign In to add comment