// ==UserScript== // @name FLBOT(free-litecoin) - Best and first bot for free-litecoin multiplier // @namespace http://free-litecoin.com/ // @version 0.4 // @description [BETA] BETA VERSION OF FLBOT - AUTO MULTIPLY. INCREASE YOUR CHANCES! // @author Charset404, BrunoB // @match https://www.free-litecoin.com/multiply // @grant none // @downloadURL https://update.greasyfork.icu/scripts/420828/FLBOT%28free-litecoin%29%20-%20Best%20and%20first%20bot%20for%20free-litecoin%20multiplier.user.js // @updateURL https://update.greasyfork.icu/scripts/420828/FLBOT%28free-litecoin%29%20-%20Best%20and%20first%20bot%20for%20free-litecoin%20multiplier.meta.js // ==/UserScript== var winChance; // Seta quantos % de ganho você tem de ganhar/perder (Arrow how many % gain you have to win/lose). Win chance, 1 and 95 var setLowHigh; // 0 = Jogar em Low | 1 = jogar em High. (0 = play Low | 1 = play High.) var nunberOfRows; // Seta o numero de jogadas. (Set the number of rolls) //========================================================================================================================================================== // Não edite abaixo sem conhecimento. (Do not edit below without knowledge) loadinput(); // Global Variables var botBreak = 0; // to count var botInterval; var update; // update ltc values var lssWn; // update Loss/Win values function myLoop() { let getColor = document.getElementById("winlose"); document.getElementById("winchance").value = winChance; if (botBreak == nunberOfRows) { stopAll(); var showStats = document.getElementById("getstats"); savevalue = savevalue; // Analizar ver se essa linha está funcionando outro dia loadinput(); getColor.innerText = ""; showStats.innerText = messages.endingbot; } else { if (getColor.style.color === "red" && getColor.innerText !== "") { changevalue(1); // It multiplies 2x the value of the bet if you lose. bet(setLowHigh); botBreak++; // count to stop bot } else if (getColor.style.color === "green" && getColor.innerText !== "") { savevalue = savevalue; // Resets the bet to base, if it wins. Analizar ver se essa linha está funcionando outro dia loadinput(); bet(setLowHigh); botBreak++; } else if (getColor.innerText === "") { bet(setLowHigh); } } } function loadHTML() { var getHtml = document.querySelector(".paddingtop"); // Takes the string of the current content. var htmlTemp = getHtml.innerHTML; var inserthtml = `
`; htmlTemp = inserthtml + htmlTemp; // Concatenates the strings by putting the new html before the htmlTemp // Put the new string (that's the html) on the DOM getHtml.innerHTML = htmlTemp; } loadHTML(); function loadCSS() { /** * Utility function to add CSS in multiple passes. * @param {string} styleString */ function addStyle(styleString) { const style = document.createElement("style"); style.textContent = styleString; document.head.append(style); } addStyle(` #buttons { position: relative; display: block; width: 300px; background-color: #161717; margin: 20px auto 10px; padding: 30px 0px; } #buttons h1 { font-size: 25px; text-align: center; color: #007bff; } #buttons > #subtext { font-size: 15px; color: #cdcdcd; } #bstart, #bstop { padding: 10px; text-align: center; font-size: 15px; background-color: #1e7e34; color: #fff; border: none; } #bstop { margin-left: 5px; background-color: #bf0e0e; } #bstart:hover, #bstop:hover { cursor: pointer; border-bottom: 3px solid #ced4da; } /*CSS Infos*/ #infos { font-size: 14px; color: #cdcdcd; margin-top: 20px; } #infos > p { margin-top: 20px; } /* css infos > p*/ #ltcmoney { color: #D6FF5C; } #ltcwins { color: green; } #ltcloss { color: red; } /*Donate*/ #donate { width: 220px; color: #cdcdcd; margin-top: 25px; } .donate { color: #cdcdcd; } .donate:hover { color: #c51f1f; } #donate:hover { cursor: pointer; } .blockchain { display: none; } /*Config*/ .conf { height: 235px !important; position: absolute; background-color: #161717; width: 100%; height: 218px; display: none; margin-top: 15px; } .conf h1 { font-size: 20px !important; } #config { margin: 0 auto; color: #cdcdcd; } #config td { padding-left: 10px; } #config, td input { background-color: #161717; text-align: center; font-size: 13px; margin-top: 5px; margin-bottom: 5px; } #postltc, #losswin, #lowhigh, #naposta { width: 114px; } #postltc { color: #D6FF5C; border: 1px #d6ff5c solid; } #losswin { color: #007bff; border: 1px #007bff solid; } #lowhigh { color: #1e7e34; border: 1px #1e7e34 solid; } #naposta { color: #dc3545; border: 1px #dc3545 solid; } #closex { display: none; width: 30px; position: absolute; right: 15px; top: 15px; background-color: #333333; border: none; color: #d8d7d7; } #closex:hover { background-color: #fb1e33; color: #fff; } #bot-msg { background-color: #004086; border: none; font-size: 12px; color: #fff; cursor: pointer; margin-top: 10px; } `); } loadCSS(); // HTML Global Variables var bstop = document.getElementById("bstop"); // Stop Button var popup = document.querySelector(".donate"); // Donate Button var bstart = document.getElementById("bstart"); // Start Button var flMoney = document.getElementById("money"); // Free-litecoin ltc value var showStats = document.getElementById("getstats"); // getStats var getBotMoney = document.getElementById("ltcmoney"); // Bot ltc value var configClose = document.getElementById("closex"); // Close button var botMsg = document.getElementById("bot-msg"); // Config button var confConf = document.querySelector(".conf"); // Config var donateBtc = document.getElementById("donate"); // Donate img bstart.addEventListener("click", function() { updateLtc(); updateLossWin(); botInterval = setInterval(myLoop, 3000); showStats.innerText = messages.startbot; }); bstop.addEventListener("click", function () { let getColor = document.getElementById("winlose"); stopAll(); loadinput(); getColor.innerText = ""; showStats.innerText = messages.stopbot; }); configClose.addEventListener("click", function() { verify(); loadinput; }); botMsg.addEventListener("click", function() { configClose.style.display = "block"; confConf.style.display = "block"; }); donateBtc.addEventListener("click", function () { var adressWallet = document.querySelector(".blockchain"); // Adress if (adressWallet.style.display === "none") { adressWallet.style.display = "block"; } else { adressWallet.style.display = "none"; } }); function updateLtc() { update = setInterval(function() { getBotMoney.innerText = flMoney.innerText; // Free-litecoin money show in FLBOT }, 500); } getBotMoney.innerText = flMoney.innerText; // Update on load function updateLossWin() { lssWn = setInterval(function() { let getColor = document.getElementById("winlose"); var loss = document.getElementById("loss"); // Loss cout var wins = document.getElementById("wins"); // Win cout if (getColor.style.color === "red" && getColor.innerText !== "") { loss.innerText++; } else if (getColor.style.color === "green" && getColor.innerText !== "") { wins.innerText++; } else if (getColor.innerText === "") { return true } }, 3000); } function stopAll() { botBreak = 0; clearInterval(botInterval); clearInterval(update); clearInterval(lssWn); } popup.addEventListener("click", function () { alert(messages.helpme); }); // Security Config Verify var messages = { loadedsetting: "Start, configuration loaded!", startbot: "Farming...", stopbot: "Stop!", endingbot: "Finished!", error:"Security check failed, please check the settings fields.", sucess:"Configuration successfully validated!", helpme: "Contribute to our Github repository, or make a symbolic donation to help us with future projects and free updates.\n\n BTC: 168tx42M6zPEL9VA9ee3Yx7SmmYLMc9ajx\n LTC(min 0.001): LXsadeqAXBE7CzbSebxcgBfsmz8WBFGznz" }; function verify(userXXXX) { var configBet = document.getElementById("postltc"); var configLossWin = document.getElementById("losswin"); var configLowHigh = document.getElementById("lowhigh"); var configNuAposta = document.getElementById("naposta"); userXXXX = true; if (configBet.value < 0.00000001 || configBet.value > 10|| configLossWin.value < 1) { alert(messages.error); userXXXX = false; return false; } if (configLowHigh.value < 0 || configLowHigh.value > 1 || configNuAposta.value < 1) { alert(messages.error); userXXXX = false; return false; } if (configBet.value == "" || configLossWin.value == "" || configLossWin.value > 95) { alert(messages.error); userXXXX = false; return false; } if (configLowHigh.value == "" || configNuAposta.value == "") { alert(messages.error); userXXXX = false; return false; } if (userXXXX == true) { alert(messages.sucess); confConf.style.display = "none"; showStats.innerText = messages.loadedsetting; configClose.style.display = "none"; savevalue = configBet.value; winChance = configLossWin.value; setLowHigh = configLowHigh.value; nunberOfRows = configNuAposta.value; loadinput(); saveinput(); } }