gigabet hilo bot 3 cards (chooses the lower payout for all 3 cards) (beta release)

open https://gigabet.com/game/hilow and watch

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         gigabet hilo bot 3 cards (chooses the lower payout for all 3 cards) (beta release)
// @author       Dauersendung
// @description  open https://gigabet.com/game/hilow and watch
// @description  get your account here: https://www.gigabet.com/c/giveaways 
// @namespace    https://greasyfork.org/de/users/444902-dauersendung
// @version      1.0
// @match        https://gigabet.com/game/hilow
// @grant        none
// ==/UserScript==

//klick hi
//var item1= $("i.fas.fa-play.fa-rotate-270").click();
//klick lo
//var item2= $("i.fas.fa-play.fa-rotate-90").click();
//klick skip
//var item3= $("#btn--hilow--skip.NOltCg").click();
//klick payout
//var drop = $("#btn--hilow--cashout.gLCcGq.hilow-game-started").click();
//klick start
//var start = $("#btn--hilow--play.gLCcGq.hilow-game-not-started").click();
//playbutton
//var play = document.getElementById("btn--hilow--play").childNodes[1].textContent

setTimeout(function(){
document.getElementById("hilow--amount").value='1.00000000' ;
},300);


setInterval(function(){
setTimeout(function(){
//multi
var multi = document.getElementsByClassName("PERmvn")[0].firstElementChild.innerText.replace("TOTAL PROFIT (","").replace("x)","");


if($('#btn--hilow--cashout').css('display') === 'none'){
   $("#btn--hilow--play.gLCcGq.hilow-game-not-started").click();
     console.log("neue runde")
}else{

//spin 1
setTimeout(function(){
//high
var hi = document.getElementById("hilow--payout--hi--chance").innerHTML.replace(".","").replace("%","");
//low
var lo = document.getElementById("hilow--payout--low--chance").innerHTML.replace(".","").replace("%","");
if (lo >= hi){
($("i.fas.fa-play.fa-rotate-90").click())
console.log("karte 1: lo gespielt");
}else if (lo <= hi){
($("i.fas.fa-play.fa-rotate-270").click())}
console.log("karte 1: high gespielt");
 }, random(2000,4000));
}
//spin 2
setTimeout(function(){
if($('#btn--hilow--cashout').css('display') === 'none'){
   $("#btn--hilow--play.gLCcGq.hilow-game-not-started").click();
     console.log("neue runde")
}else{
//high
var hi = document.getElementById("hilow--payout--hi--chance").innerHTML.replace(".","").replace("%","");
//low
var lo = document.getElementById("hilow--payout--low--chance").innerHTML.replace(".","").replace("%","");
if (lo <= hi){
($("i.fas.fa-play.fa-rotate-90").click())
console.log("karte 1: lo gespielt");
}else if (lo >= hi){
($("i.fas.fa-play.fa-rotate-270").click())}
console.log("karte 1: high gespielt");
} }, random(2000,4000));

//spin 3
setTimeout(function(){
if($('#btn--hilow--cashout').css('display') === 'none'){
   $("#btn--hilow--play.gLCcGq.hilow-game-not-started").click();
     console.log("neue runde")
}else{
//high
var hi = document.getElementById("hilow--payout--hi--chance").innerHTML.replace(".","").replace("%","");
//low
var lo = document.getElementById("hilow--payout--low--chance").innerHTML.replace(".","").replace("%","");
if (lo >= hi){
($("i.fas.fa-play.fa-rotate-90").click())
console.log("karte 1: lo gespielt");
}else if (lo <= hi){
($("i.fas.fa-play.fa-rotate-270").click())}
console.log("karte 1: high gespielt");
} }, random(2000,4000));

    //spin 4
setTimeout(function(){
if($('#btn--hilow--cashout').css('display') === 'none'){
   $("#btn--hilow--play.gLCcGq.hilow-game-not-started").click();
     console.log("neue runde")
}else{
//high
var hi = document.getElementById("hilow--payout--hi--chance").innerHTML.replace(".","").replace("%","");
//low
var lo = document.getElementById("hilow--payout--low--chance").innerHTML.replace(".","").replace("%","");
if (lo <= hi){
($("i.fas.fa-play.fa-rotate-90").click())
console.log("karte 1: lo gespielt");
}else if (lo >=  hi){
($("i.fas.fa-play.fa-rotate-270").click())}
console.log("karte 1: high gespielt");
} }, random(2000,4000));

//cashout
setTimeout(function(){
    if($('#btn--hilow--cashout').css('display') === 'none'){
   $("#btn--hilow--play.gLCcGq.hilow-game-not-started").click();
     console.log("neue runde")
}else{
$("#btn--hilow--cashout.gLCcGq.hilow-game-started").click();
    console.log('cashout mit: ' +  multi);
} }, random(2000,4000));
 }, random(2000,4000))},20000)

function random(min,max){
   return min + (max - min) * Math.random();
}