Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function changeBasebet(newbasebet){
- var newBet = parseFloat(newbasebet).toFixed(8);
- document.getElementsByClassName('amount')[0].value = newBet.toString();
- var event = new Event('blur');
- document.getElementsByClassName('amount')[0].dispatchEvent(event);
- }
- function changeSeed() {
- setTimeout(function () {
- var btnMenu = document.querySelector("#root > div > section > div.header-container > div > div > button");
- btnMenu.click();
- setTimeout(function () {
- var btnFairness = document.querySelector("#root > div > section > div.alternative-menu.visible > button:nth-child(16)");
- btnFairness.click();
- setTimeout(function () {
- var btnChangeseed = document.querySelector("body > div:nth-child(11) > div > div > div > section > div.top > button");
- btnChangeseed.click();
- setTimeout(function () {
- var btnCloseFairness = document.querySelector("body > div:nth-child(11) > div > div > button");
- btnCloseFairness.click();
- /*setTimeout(function(){
- document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > div.action.autoRoll > button").click();
- },3000); */
- }, 2000);
- }, 2000);
- }, 2000);
- }, 2000);
- }
- function changePayout(newpayout){
- document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > section.info > figure.p0_all > div > input").value = newpayout;
- var event = new Event('blur');
- document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > section.info > figure.p0_all > div > input").dispatchEvent(event);
- }
- function changeLimit(newlimit){
- document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > section.bet > figure.nrolls > section > div > input").value = newlimit;
- var event = new Event('blur');
- document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > section.bet > figure.nrolls > section > div > input").dispatchEvent(event);
- }
- document.querySelector("#root > div > section > div.game_transactions > div > div:nth-child(2)").click();
- document.querySelector("#root > div > section > div:nth-child(6) > section > header > div.inactive").click();
- document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > section.loss-win > figure:nth-child(2) > div.flex_h.flex_c_b.m5_d > div > div").click();
- changePayout("9.9");
- let initbb = "0.00000150";
- changeBasebet(initbb);
- let initlimit = 5;
- changeLimit(initlimit);
- var currentSerie = 1;
- var target = document.getElementsByClassName("prevRolls")[0];
- var automate = new MutationObserver(function (mutations) {
- var temp = document.getElementsByClassName("table-row")[0];
- var x = temp.getElementsByClassName("success");
- if (x[0]){
- console.log("win");
- currentSerie = 1
- changeBasebet(initbb);
- changeLimit(initlimit);
- changePayout("9.9");
- changeSeed();
- }else{
- var currentLimit = document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > section.bet > figure.nrolls > section > div > input").value;
- if(parseInt(currentLimit) == 0){
- currentSerie ++;
- if(currentSerie == 2 || currentSerie == 3){
- changeLimit(5);
- changePayout("9.9");
- var betamount = document.getElementsByClassName('amount')[0].value;
- var newBet = parseFloat(betamount * 2);
- changeBasebet(newBet);
- }
- if(currentSerie == 4){
- changeLimit(50);
- changePayout("99.49");
- var betamount = document.getElementsByClassName('amount')[0].value;
- var newBet = parseFloat(betamount * 0.2);
- changeBasebet(newBet);
- }
- if(currentSerie == 5 || currentSerie == 6){
- changeLimit(50);
- changePayout("99.49");
- var betamount = document.getElementsByClassName('amount')[0].value;
- var newBet = parseFloat(betamount * 2);
- changeBasebet(newBet);
- }
- if(currentSerie == 7){
- changeLimit(500);
- changePayout("1042");
- var betamount = document.getElementsByClassName('amount')[0].value;
- var newBet = parseFloat(betamount * 0.2);
- changeBasebet(newBet);
- }
- if(currentSerie == 8 || currentSerie == 9){
- changeLimit(500);
- changePayout("1042");
- var betamount = document.getElementsByClassName('amount')[0].value;
- var newBet = parseFloat(betamount * 2);
- changeBasebet(newBet);
- }
- if(currentSerie < 10){
- setTimeout(function(){
- document.querySelector("#root > div > section > div:nth-child(6) > section > div > section > div.dashb.cornerGrd1.p10_all_i > div.action.autoRoll > button").click();
- },1000);
- }
- }
- }
- });
- var config = {
- characterData: true,
- subtree: true
- };
- automate.observe(target, config);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement