0% found this document useful (0 votes)
184 views2 pages

Automated Betting Script for Users

1. The document defines variables and functions for automating bets on a website over time. 2. The start_bets function is called, which sets initial bet values and clicks the "Bet Low" button to place the first bet. 3. The Check_win function is called on an interval to check the results of previous bets, adjust bet values and size accordingly, and click either the "Bet Low" or "Bet High" button to place the next bet.

Uploaded by

Albert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
184 views2 pages

Automated Betting Script for Users

1. The document defines variables and functions for automating bets on a website over time. 2. The start_bets function is called, which sets initial bet values and clicks the "Bet Low" button to place the first bet. 3. The Check_win function is called on an interval to check the results of previous bets, adjust bet values and size accordingly, and click either the "Bet Low" or "Bet High" button to place the next bet.

Uploaded by

Albert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

var interval;

var iterator = 1;
var val_min = "0.000001";
var Now_val = document.getElementsByClassName("UserBalance")[0].innerHTML;

function start_bets(_time) {

var time = 3000;

document.getElementById("BetSizeInput").value = val_min;
document.getElementById("BetChanceInput").value = 80;
var button = document.getElementById("BetLowButton");
button.click;

var s_Val, bol = true, increment = 1;


function Check_win(){
var div_block = document.getElementById("LastBetInfoContainer").style["display"];
var tab = document.getElementsByClassName("BetsTable")[1];
if(bol == false){
document.getElementById("BetChanceInput").value = 80;
document.getElementById("BetSizeInput").value = s_Val;
bol = true;
}
var Win_or_Lose_Str =
document.getElementById('LastBetInfoWon').style['display'];
console.log("Win or lose : " + Win_or_Lose_Str);
console.log("iterator : " + iterator);

if(iterator > 3 || tab.getElementsByTagName("td")


[4].firstChild.innerHTML.indexOf("+0.00006368") == 0 ||
(tab.getElementsByTagName("td")[4].firstChild.innerHTML.indexOf("-") == 0 &&
tab.getElementsByTagName("td")[9].firstChild.innerHTML.indexOf("-") == 0 &&
tab.getElementsByTagName("td")[14].firstChild.innerHTML.indexOf("-") == 0)){
document.getElementById("BetSizeInput").value = val_min;
document.getElementById("BetChanceInput").value = 80;
iterator = 1;
increment = 1;
}else
if(Win_or_Lose_Str == "none"){
iterator++;
document.getElementById("BetSizeInput").value =
document.getElementById("BetSizeInput").value * 4;
s_Val = document.getElementById("BetSizeInput").value;
button = document.getElementById("BetLowButton");
}else{
if(iterator != 1){
console.log("tyt");
document.getElementById("BetSizeInput").value =
document.getElementById("BetSizeInput").value / 4;
s_Val = document.getElementById("BetSizeInput").value ;
iterator--;
}
iterator = 1;
button = document.getElementById("BetHighButton");
}
if(tab.getElementsByTagName("td")
[4].firstChild.innerHTML.indexOf("-") == 0 && tab.getElementsByTagName("td")
[9].firstChild.innerHTML.indexOf("-") == 0){
document.getElementById("BetSizeInput").value = 0.000032 *
(3 * increment);
switch(Math.floor((Math.random() * 2))){
case 0:{
button =
document.getElementById("BetLowButton");
break;
}
case 1:{
button =
document.getElementById("BetHighButton");
break;
}
}
iterator--;
document.getElementById("BetChanceInput").value = 95;
increment = increment * 4;
bol = false;
}

interval = setInterval(function() {
console.log(new Date());
Check_win();
button.click();
}, time);

}
start_bets();

You might also like