Advertisement
Ypleitez

Wager

Oct 30th, 2023
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. scriptname = 'Script Wager and Jackpot'
  2. ---------------------------------------
  3. minbet = 2e-5 -- set minimal bet
  4. minch = 1 -- set min chance
  5. maxch = 98 -- set max chance
  6. startch = 50 -- set start chance
  7. div = 1e3 -- set divider base
  8. inc = 35 -- set inc bet
  9. limitpro = 50 -- set limit profit
  10. prebet = 0 -- set 0 for stake/pd
  11. -------------- do not touch -----------
  12. initbal = balance base = initbal/div
  13. bethigh = false jpch = minch roll = 0
  14. preroll = false safety = false
  15. resetpartialprofit() chance = maxch
  16. if base < minbet then base = minbet end
  17. nextbet = base resetseed() --resetclientseed()
  18.  
  19. function dobet()
  20. if lastBet.nonce > 10000 then resetseed() end
  21. if (profit/(balance-profit))*100 > limitpro then
  22. base = profit/(div/2) initbal = profit
  23. safety = true
  24. else
  25. base = initbal/div initbal = balance
  26. end
  27. if safety and profit < 0 or safety and nextbet > profit then
  28. safety = false nextbet = prebet chance = maxch
  29. resetpartialprofit() resetseed() preroll = true
  30. end
  31. if preroll then
  32. chance = math.random(minch,maxch)
  33. roll = roll + 1 nextbet = prebet
  34. if roll > math.random(500,1000) then
  35. preroll = false chance = maxch roll = 0
  36. nextbet = base resetpartialprofit()
  37. bethigh = !bethigh
  38. end
  39. else
  40. if partialprofit > 0 then
  41. resetpartialprofit()
  42. chance = maxch
  43. nextbet = base
  44. bethigh = false
  45. startch = math.random(50,66)
  46. if profit > (balance-profit) then nextbet = (base/2)/div end
  47. if previousbet > initbal*0.1 then preroll = true nextbet = prebet end
  48. else
  49. if win then
  50. chance = math.random(50,66)
  51. nextbet = (partialprofit*-1)/((99/chance)-1)
  52. else
  53. if (currentstreak == -1) then
  54. chance = math.random(10,500)/100
  55. jpch = chance
  56. nextbet = (partialprofit*-1)/((99/chance)-1)
  57. else
  58. if (currentstreak == -5 or currentstreak == -10 or currentstreak == -15 or currentstreak == -20 or currentstreak == -25 or currentstreak == -30 or currentstreak == -35) then
  59. chance = math.random(50,66)
  60. nextbet = (partialprofit*-1)/((99/chance)-1)
  61. else
  62. if partialprofit < -initbal*0.1 then
  63. chance = math.random(math.floor((jpch+5)*100), math.floor((jpch+15)*100))/100
  64. else
  65. chance = math.random(math.floor(jpch*100), math.floor((jpch+5)*100))/100
  66. end
  67. if partialprofit < -initbal*0.1 then jpch = jpch + math.random(10,100)/100 end
  68. nextbet = previousbet+(previousbet*(inc/100))
  69. if (currentstreak == -6 or currentstreak == -11 or currentstreak == -16 or currentstreak == -21 or currentstreak == -26 or currentstreak == -31 or currentstreak == -36) then
  70. nextbet = (partialprofit*-1)/((99/chance)-1)
  71. end
  72. end
  73. end
  74. end
  75. end
  76. if nextbet < minbet then nextbet = minbet end
  77. end
  78. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement