Advertisement
Ypleitez

Untitled

Jan 13th, 2024
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1.  
  2. chance = 98
  3. basebet=balance/1000;
  4. nextbet=basebet
  5. wager=0
  6. tb=0
  7. xp=0
  8. ch=0
  9. x=0
  10. ath = balance
  11. function getChance(x)
  12. return 99/x
  13. end
  14. function dobet()
  15. if balance > ath then
  16. ath = balance
  17. basebet = balance/1000
  18. end
  19. tb+=1
  20. wager+=nextbet
  21. x=lastBet.result
  22. local c=getChance(x)
  23. xp+=x
  24. ch+=c
  25. local avg=xp/tb
  26. chance=99/getChance(avg)
  27. if partialprofit > 0 then resetpartialprofit() chance = 98 end
  28. if win then nextbet = basebet else
  29. nextbet = partialprofit*-1/((99/chance)-1) end
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement