Advertisement
coinwalk

seed changer 999

May 28th, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. // ==UserScript==
  6. // @name snowy
  7. // @description This script will reset your 999dice seed automatically.
  8. // @author snowy
  9. // @match https:////www.999dice.com
  10. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
  11. // @include https://www.999dice.com/
  12. // @grant none
  13.  
  14. // ==/UserScript==
  15. this.$ = this.jQuery = jQuery.noConflict(true);
  16.  
  17. function getR(min, max) {
  18. min = Math.ceil(min);
  19. max = Math.floor(max);
  20. return Math.floor(Math.random() * (max - min + 1)) + min;
  21. }
  22. function go () {
  23. var xol =getR(1,3);
  24. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  25. onBetComplete = function(e){
  26. var myseed;
  27. if (xol==1) {
  28. myseed = getR(500000,777777);
  29. } else if (xol==2) {
  30. myseed = getR(500,999);
  31. } else {
  32. myseed = getR(5000,9999);
  33. }
  34. setTimeout(() => {
  35. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  36. }
  37. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  38. setInterval(() => go(), 51);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement