YoBit Dice Script

var id = 0;

var startCoin = checkWallet();
console.log (“Starting Coin: ” + startCoin);

if ((startCoin >= 0.001) && (startCoin < 0.01)) bet1 = 0.00000010; else if ((startCoin >= 0.01) && (startCoin < 0.1)) bet1 = 0.00000100; else if ((startCoin >= 0.1) && (startCoin < 1)) bet1 = 0.00001000; else if (((startCoin >= 1) && (startCoin < 10))) bet1 = 0.00010000; else if ((startCoin >= 10) && (startCoin < 100)) bet1 = 0.00100000; else if ((startCoin >= 100) && (startCoin < 1000)) bet1 = 0.01000000; else if (startCoin >= 1000)
bet1 = 0.10000000;
else
bet1 = 0.00000010;

var constbet1 = bet1;

$(‘.clDicePlay’).each(function()
{
id++;
$(this).attr(‘class’, ‘clDicePlay’+id);
});

var win = 0;
var lost = 0;
$(‘.dice_page input[name=bet]’).val(constbet1).trigger(‘change’);
var winstreak = 0;
var wstr = 0;
var lostreak = 0;
var streak = 0;
setTimeout(function(){$(‘.clDicePlay1’).click();},1000);
setInterval(function(){$(‘.btn’).click();},60000);
setTimeout(b1,1200);

function b1()
{
var checker = $(‘.clDicePlay1’).val();

if( checker == “Roll < 48" ) { setTimeout(function(){$('.clDicePlay1').click();b1();},600); } if( checker == "Playing..." ) { setTimeout(b1,1); } if( checker == "Lost" ) { winstreak = 0; var stoploss = profitchecker(startCoin); if (stoploss == -1) return streak++; if (streak > lostreak )
{
lostreak = streak;
console.log(“Bet: “+licz+” Lost streak: “+lostreak);
}

lost = lost+bet1;
var newbet = bet1*2;
bet1 = newbet;

if( streak > 10 )
{
$(‘.dice_page input[name=bet]’).val(newbet).trigger(‘change’);
setTimeout(function(){$(‘.clDicePlay2’).click();b1();},600);
}
else
{
$(‘.dice_page input[name=bet]’).val(newbet).trigger(‘change’);
setTimeout(function(){$(‘.clDicePlay1’).click();b1();},600);
}
}

if( checker == “Win!” )
{
winstreak++;
streak = 0;
var stoploss = profitchecker(startCoin);
if (stoploss == -1)
return
win = win+bet1;
bet1 = constbet1;

if(winstreak > 1)
{
bet1 = constbet1*2;
}

if(winstreak > 2)
{
bet1 = constbet1*4;
}

if(winstreak > 3)
{
bet1 = constbet1*8;
}

$(‘.dice_page input[name=bet]’).val(bet1).trigger(‘change’);
setTimeout(function(){$(‘.clDicePlay1’).click();b1();},600);
}
};

function checkWallet(startCoin){
//console.log (“checkWallet… “);
var coinString = $(“div.dice_select span”).text();
var stringSplit = coinString.split(“-“);
var coinBalance = parseFloat(stringSplit[1]);
console.log (“Start Coin: ” + startCoin + ” – All Coin: ” + coinBalance);
return coinBalance;
}

var licz = 0;

function profitchecker(startCoin)
{
if (licz == 0)
startCoin = checkWallet(startCoin);

console.log(bet1);
licz++;
var profit = win-lost;
var p = profit.toFixed(8);
var w = win.toFixed(8);
var l = lost.toFixed(8);
console.log (“[“+licz+”]Win:”+w+” Lost:”+l+” Profit:”+p);
checkWallet(startCoin);

return startCoin;
};

Be the first to comment

Leave a Reply

Your email address will not be published.


*