Advertisement
coinwalk

add this to console scripting for 999dice

May 5th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. function getR(min, max) {
  2. min = Math.ceil(min);
  3. max = Math.floor(max);
  4. return Math.floor(Math.random() * (max - min + 1)) + min;
  5. }
  6.  
  7. var v =getR(50000000,99999999);
  8. var z =getR(50000000,99999999);
  9. var h =getR(50000000,99999999);
  10. function go () {
  11. var x =getR(1,3);
  12. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  13. onBetComplete = function(e){
  14. var myseed;
  15. if (x==1) {
  16. myseed = v;
  17. }
  18. else if (x==2)
  19. {
  20. myseed = h;
  21. } else {
  22. myseed = z;
  23. }
  24. setTimeout(() => {
  25. $(".ManualSeedControls:visible input").val(myseed)}, 1);
  26. }
  27. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  28. setInterval(() => go(), 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement