Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function resetseed(){
- var a=document.getElementsByClassName('ManualSeedControls')[0];
- if(!a)return;
- if(a.style.display!='block'){
- console.log('Enabling manual seed');
- if(document.getElementById('AccountTabManualSeed')){
- document.getElementById('AccountTabManualSeed').click();
- }
- resetseed();
- }
- }
- resetseed();
- function getR(min, max) {
- min = Math.ceil(min);
- max = Math.floor(max);
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- function go () {
- var xol =getR(1,3);
- $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
- onBetComplete = function(e){
- var myseed;
- if (xol==1) {
- myseed = getR(7777,9999);
- } else if (xol==2) {
- myseed = getR(50000,77777);
- } else {
- myseed = getR(50,99);
- }
- setTimeout(() => {
- $(".ManualSeedControls:visible input").val(myseed)}, 50);
- }
- $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
- setInterval(() => go(), 51);
- Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
- var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var betss=0;
- var won=0;
- var fraction=(getR(10000,20000));
- var basebet=longer/fraction;
- var more=(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
- var target=2000;
- parseFloat(document.getElementById('BetSizeInput').value = (basebet));
- function dobet(){
- var chance=49.95;
- var fraction=(getR(10000,20000));
- var secret=parseFloat($('#LastBetInfoSecret').html());
- var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var basebet=bal/fraction;
- var nextbet;
- var previousbet=(document.getElementById('BetSizeInput').value);
- document.getElementById('BetChanceInput').value = chance;
- if (bal<more) {
- betss++;
- }
- if (secret<499499){
- won++;
- }
- if (won==(getR(3,5))){
- won=0;
- }
- if (bal>(more+(basebet))){
- nextbet=bal/fraction;
- won=0;
- more=(parseFloat(bal));
- }else if (Math.fmod(betss,(won+(getR(3,5))))==0) {
- nextbet=previousbet*((getR(20,22))/10);
- }else{
- nextbet=previousbet;
- }
- if (bal>target) {
- //stop();
- $('#notification').html('Relax & Reload');
- alert('Relax & Reload');
- log('Relax & Reload');
- return;
- }
- parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
- $('#BetLowButton').click();}
- setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement