Script Find Pattern Roll
Script Find Pattern Roll
body.prepend(
$('<div/>').attr('style',"position:fixed;top:50px;left:0;z-
index:999;width:368px;background-color:black;color: white; text-align: center;")
.append(
$('<div/>').attr('id','autofaucet')
.append($('<p/>').attr('style','text-
decoration:underline;color: red').text("Find Pattern 2020.04 By Giuseppe
Tarricone"))
.append($('<p/>').text("Support by using my link:"))
.append($('<p/>').attr('style','text-
decoration:underline;color: green').text("Script by : [email protected]"))
.append($('<p/>').attr('style',"color: green").text("Telegram :
@Giuseppe_rus"))
.append($('<p/>').attr('style',"color:
green").text("https://freebitco.in/?r=29923906"))
.append($('<p/>').text("(Click to copy)"))
.append($('<p/>')
)
).click(function(){
var $temp = $('<input>').val("https://freebitco.in/?r=29923906");
body.append($temp);
$temp.select();
document.execCommand("copy");
$temp.remove();
})
).prepend($('<style/>')
.text("#autofaucet p { margin: 0; margin-left: 2px; text-align:
center; }")
)
body.prepend(
$('<div/>').attr('style',"position:fixed;top:200px;left:0;z-
index:999;width:368px;background-color:black;color: white; text-align: center;")
.append(
$('<div/>').attr('id','autofaucet')
.append($('<p/>').text("Or Send BTC donations here:"))
.append($('<p/>').attr('style',"color:
green").text("3Dg66cX1hsMw58w6mojJDx19nsXWJyo6YG"))
.append($('<p/>').text("(Click to copy)"))
.append($('<p/>')
)
).click(function(){
var $temp = $('<input>').val("3Dg66cX1hsMw58w6mojJDx19nsXWJyo6YG");
body.append($temp);
$temp.select();
document.execCommand("copy");
$temp.remove();
})
).prepend($('<style/>')
.text("#autofaucet p { margin: 0; margin-left: 2px; text-align:
center; }")
)
$('#double_your_btc_bet_lose').unbind();
$('#double_your_btc_bet_win').unbind();
var game; var pattern;
var stopGame = false; var balanceInitial; var balanceCurrent;
function StartFind(){
//debugger;
pattern=$("#pattern").val();
stopGame=false;
$("#keypad").html('<button id="start" onclick="Stop()" class="btn btn-warning
style="margin:0 0 10px 0; padding:3px; width:auto;">Stop</button>');
game = "";
$('#double_your_btc_stake').val('0.00000001');
$("#double_your_btc_bet_hi_button").trigger("click");
balanceInitial = ( parseInt(parseFloat ( $("#balance").html() ) * 100000000) );
}
function Stop(){
stopGame = true;
$("#keypad").html('<button id="start" onclick="StartFind()" class="class="btn
btn-primary" style="margin:0 0 10px 0; padding:3px; width:auto;">Start
Find</button>');
//$('#double_your_btc_bet_lose').unbind();
//$('#double_your_btc_bet_win').unbind();
}
$('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(e){
//debugger;
if (stopGame) return;
if( $(event.currentTarget).is(':contains("lose")') ){
validatePattern("R");
}
});
function validatePattern(result){
game+= result;
var value = game.substr(game.length - pattern.length);
if (value==pattern){
Stop();
balanceCurrent = (parseInt(parseFloat ($
("#balance").html())*100000000));
var cost = balanceCurrent-balanceInitial;
alert("Pattern Find !!! : " + value + "\nCost : " + cost + "
Satoshi" );
}else{
$("#double_your_btc_bet_hi_button").trigger("click");
}
}
$('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(e){
//debugger;
if (stopGame) return;
if( $(event.currentTarget).is(':contains("win")') ){
validatePattern("V");
}
});