Advertisement
Guest User

Untitled

a guest
Jan 12th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. const checkamount = 1000
  2. const continue = false
  3. const seed = 1000
  4.  
  5. let green = 0
  6. let red = 0
  7. let count = 0
  8.  
  9. function clientseeder() {
  10. let text = "";
  11. let possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
  12. for (let i = 0; i < 5; i++) {
  13. text += possible.charAt(Math.floor(Math.random() * possible.length));
  14. }
  15. return text;
  16. }
  17.  
  18. while (true) {
  19. count++
  20. if ((count >= seed) && (seed != 0)) {
  21. count = 0
  22. await this.newSeedPair()
  23. await this.setClientSeed(clientseeder())
  24. }
  25. if ((green + red) >= checkamount) {
  26. this.log(`Green : ${green}`)
  27. this.log(`Red : ${red}`)
  28. if (continue) {
  29. green = 0
  30. red = 0
  31. } else {
  32. this.stop()
  33. }
  34. }
  35. const {multiplier} = await this.bet(100, 2)
  36. if (multiplier < 2) {
  37. red++
  38. } else {
  39. green++
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement