Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#body").css("background", "linear-gradient(45deg, #111111 0%, #111111 50%, #111111 100%)");
- $("#main").css("min-width", "100%");
- $("#header").css("display", "none");
- $("#news").css("display", "none");
- $("#content").css("background", "none");
- $("#gameContainer").html("<br><span id=\"notification\">...</span><br><br> <span style=\"float: left;\"><input id=\"basebetAmount\" value=\"0.00000001\" style=\"background: none; text-align: center; color: #fff; border: 1px solid #fff;\" placeholder=\"basebetAmount\" autocomplete=\"off\"> <input id=\"overBalance\" value=\"0.00000000\" style=\"background: none; text-align: center; color: #fff; border: 1px solid #fff;\" placeholder=\"overBalance\" autocomplete=\"off\"> <input id=\"underBalance\" value=\"0.00000000\" style=\"background: none; text-align: center; color: #fff; border: 1px solid #fff;\" placeholder=\"underBalance\" autocomplete=\"off\"></span> <span style=\"float: right;\"><button id=\"min\" onclick=\"min();\" style=\"border: 1px solid #fff; padding: 2px;\">min</button> <button id=\"play\" style=\"border: 1px solid #fff; padding: 2px;\">start</button> <button id=\"reset\" onclick=\"reset();\" style=\"border: 1px solid #fff; padding: 2px;\">reset</button> <button id=\"showChart\" style=\"border: 1px solid #fff; padding: 2px;\">showChart</button> <button id=\"showStatic\" style=\"border: 1px solid #fff; padding: 2px;\">showStatic</button></span><br><br> <div id=\"chart\" style=\"height: 320px;\"></div><br> <div id=\"static\">...</div></div><br><br><br></b><a style=\"color: #FFF933; font-size: 20px;\" href=\"https://www.youtube.com/channel/UCBVw_OsXj6z44OekZkSPq2w?view_as=subscriber\" target=\"blank\"></span> Click Here for More ... ");
- $("#gameContainer").css("width", "75%");
- $("#gameContainer").css("height", "100%");
- $("#gameContainer").css("color", "#fff");
- $("#gameContainer").css("font-size", "16px");
- $("#gameContainer").css("margin", "auto");
- $("#gameContainer").css("padding", "0px");
- $("#notification").html("Bot has applied!");
- $("#static").css("text-align", "center");
- $("#controlContainer").css("display", "none");
- $("#listContainer").css("display", "none");
- $("#frontText").css("display", "none");
- $("#footer").css("display", "none");
- document.getElementById("chart").hidden = true;
- document.getElementById("static").hidden = true;
- document.getElementById("static").hidden = true;
- randomizeSeed();
- console.clear();
- var run = false;
- hideChart = true;
- hideStatic = true;
- sbalance = parseFloat(document.getElementById("balance").value);
- basebetAmount = 0;
- betAmount = 0;
- maxbetAmount = 0;
- prediction = 0;
- direction = "";
- balance = 0;
- overBalance = 0;
- underBalance = 0;
- bet = 0;
- win = 0;
- lose = 0;
- winStreak = 0;
- loseStreak = 0;
- maxWinStreak = 0;
- maxLoseStreak = 0;
- wagered = 0;
- profitWagered = 0;
- profit = 0;
- profitt = 0;
- largestProfit = 0;
- startTime = new Date();
- onTime = 0;
- playTime = 0;
- playDay = 0;
- playHour = 0;
- playMinute = 0;
- playSecond = 0;
- speed = 0;
- round = 0;
- dsp = [];
- chart = "";
- color = "";
- $.getScript("https://canvasjs.com/assets/script/canvasjs.min.js").done(function (_0x7065x2, _0x7065x3) {
- dps = [{
- x: 0,
- y: 0
- }];
- chart = new CanvasJS.Chart("chart", {
- theme: "light2",
- zoomEnabled: true,
- axisX: {
- title: " ",
- includeZero: false
- },
- axisY: {
- title: " ",
- includeZero: false
- },
- title: {
- text: "Kashi Btc Earning ",
- fontColor: "red",
- fontSize: 2e1,
- padding: 2e1
- },
- data: [{
- type: "stepLine",
- dataPoints: dps
- }]
- });
- chart.render()
- });
- function updateChart(_0x7065x5, _0x7065x6, _0x7065x7) {
- dps.push({
- x: _0x7065x5,
- y: _0x7065x6,
- color: _0x7065x7
- });
- if (dps[dps.length - 2]) {
- dps[dps.length - 2].lineColor = _0x7065x7
- };
- if (dps.length > 1e3) {
- dps.shift()
- };
- chart.render()
- }
- function min() {
- $("#basebetAmount").val((0.00000001).toFixed(8))
- }
- $("#play").on("click", function () {
- run == true ? play(this, "start", false, false) : play(this, "stop", true, true);
- basebetAmount = parseFloat($("#basebetAmount").val());
- overBalance = parseFloat($("#overBalance").val());
- underBalance = parseFloat($("#underBalance").val());
- betAmount = basebetAmount;
- prediction = Math.floor((Math.random() * (98 - 98 + 1)) + 98);
- direction = "under";
- $("#basebetAmount").val(basebetAmount.toFixed(8));
- $("#overBalance").val(overBalance.toFixed(8));
- $("#underBalance").val(underBalance.toFixed(8));
- doBet()
- });
- function play(_0x7065xa, _0x7065xb, _0x7065xc) {
- $(_0x7065xa).html(_0x7065xb);
- run = _0x7065xc;
- $("#basebetAmount").prop("disabled", _0x7065xc);
- $("#overBalance").prop("disabled", _0x7065xc);
- $("#underBalance").prop("disabled", _0x7065xc);
- $("#min").prop("disabled", _0x7065xc);
- $("#reset").prop("disabled", _0x7065xc)
- }
- $("#showChart").on("click", function () {
- hideChart == true ? showChart(this, "hideChart", false) : showChart(this, "showChart", true)
- });
- function showChart(_0x7065xa, _0x7065xb, _0x7065xc) {
- $(_0x7065xa).html(_0x7065xb);
- hideChart = _0x7065xc;
- document.getElementById("chart").hidden = _0x7065xc
- }
- $("#showStatic").on("click", function () {
- hideStatic == true ? showStatic(this, "hideStatic", false) : showStatic(this, "showStatic", true)
- });
- function showStatic(_0x7065xa, _0x7065xb, _0x7065xc) {
- $(_0x7065xa).html(_0x7065xb);
- hideStatic = _0x7065xc;
- document.getElementById("static").hidden = _0x7065xc
- }
- function reset() {
- randomizeSeed();
- sbalance = parseFloat(document.getElementById("balance").value);
- basebetAmount = 0;
- betAmount = 0;
- maxbetAmount = 0;
- prediction = 0;
- direction = "";
- balance = 0;
- overBalance = 0;
- underBalance = 0;
- bet = 0;
- win = 0;
- lose = 0;
- winStreak = 0;
- loseStreak = 0;
- maxWinStreak = 0;
- maxLoseStreak = 0;
- streakoflosses = 50;
- wagered = 0;
- profitWagered = 0;
- profit = 0;
- profitt = 0;
- largestProfit = 0;
- startTime = new Date();
- onTime = 0;
- playTime = 0;
- playDay = 0;
- playHour = 0;
- playMinute = 0;
- playSecond = 0;
- speed = 0;
- round = 0;
- dsp = [];
- chart = "";
- color = "";
- $.getScript("https://canvasjs.com/assets/script/canvasjs.min.js").done(function (_0x7065x2, _0x7065x3) {
- dps = [{
- x: 0,
- y: 0
- }];
- chart = new CanvasJS.Chart("chart", {
- theme: "light2",
- zoomEnabled: true,
- axisX: {
- title: " ",
- includeZero: false
- },
- axisY: {
- title: " ",
- includeZero: false
- },
- title: {
- text: "Kashi Btc Earning ",
- fontColor: "red",
- fontSize: 2e1,
- padding: 2e1
- },
- data: [{
- type: "stepLine",
- dataPoints: dps
- }]
- });
- chart.render()
- });
- $("#notification").html("Bot is Reset!");
- $("#static").html("...");
- return
- }
- function doBet() {
- if (run === true) {
- jQuery.ajax({
- url: "https://" + user.domain + "/play/",
- type: "POST",
- dataType: "html",
- timeout: 2e4,
- data: {
- game: "dice",
- coin: $("#coin").val(),
- betAmount: betAmount,
- prediction: prediction,
- direction: direction,
- clientSeed: $("#clientSeed").val(),
- serverSeedHash: $("#serverSeedHash").html(),
- session: getCookie("SESSION"),
- hash: user.hash
- },
- success: function (_0x7065x11) {
- var _0x7065x11 = JSON.parse(_0x7065x11);
- if (_0x7065x11.result === true) {
- bet++;
- onTime = new Date().getTime();
- playTime = onTime - startTime;
- playDay = Math.floor(playTime / (1e3 * 6e1 * 6e1 * 24));
- playHour = Math.floor((playTime % (1e3 * 6e1 * 6e1 * 24)) / (1e3 * 6e1 * 6e1));
- playMinute = Math.floor((playTime % (1e3 * 6e1 * 6e1)) / (1e3 * 6e1));
- playSecond = Math.floor((playTime % (1e3 * 6e1)) / 1e3);
- speed = parseFloat((bet / playTime) * 2e3);
- balance = parseFloat(_0x7065x11.balance);
- wagered += parseFloat(betAmount);
- profit += parseFloat(_0x7065x11.profit);
- profitWagered = (wagered * 0.1) / 1e2;
- profitt = 100 * (balance - sbalance) / sbalance;
- if (profit > largestProfit) {
- largestProfit = profit
- };
- if (_0x7065x11.gameResult === "win") {
- randomizeSeed();
- win++;
- winStreak++;
- loseStreak = 0;
- color = "green"
- } else {
- lose++;
- loseStreak++;
- winStreak = 0;
- color = "red"
- };
- if (winStreak >= maxWinStreak) {
- maxWinStreak = winStreak
- };
- if (loseStreak >= maxLoseStreak) {
- maxLoseStreak = loseStreak
- };
- if (betAmount >= maxbetAmount) {
- maxbetAmount = betAmount
- };
- $("#serverSeedHash").html(_0x7065x11.serverSeedHash);
- $("#notification").html("Dice Bot #3 by KASHI");
- $("#static").html("<span style=\"float: left;\">Play Time = " + playDay + ":" + playHour + ":" + playMinute + ":" + playSecond + "</span> <span style=\"float: center;\">Coin = " + $("#coin").val() + "</span> <span style=\"float: right;\">Speed = " + speed.toFixed(2) + "</span><br> <span style=\"float: left;\">Balance = " + balance.toFixed(8) + "</span> <span style=\"float: center;\">Bet = " + bet + "</span> <span style=\"float: right;\">Profit = " + profit.toFixed(8) + " (" + profitt.toFixed(2) + "%)</span><br> <span style=\"float: left;\">Win Streak = " + winStreak + "</span> <span style=\"float: center;\">Max Bet Amount = " + maxbetAmount.toFixed(8) + "</span> <span style=\"float: right;\"> Loss Streak = " + loseStreak + "</span><br> <span style=\"float: left;\">Max Win Streak = " + maxWinStreak + "</span> <span style=\"float: right;\">Max Loss Streak = " + maxLoseStreak + "</span>");
- updateChart(bet, profit, color);
- if (betAmount >= balance) {
- stop();
- $("#notification").html("You Have Lost!");
- return
- } else {
- if (overBalance != 0 && balance >= overBalance) {
- stop();
- $("#notification").html("Profit Reached!");
- return
- } else {
- if (underBalance != 0 && balance <= underBalance) {
- stop();
- $("#notification").html("Profit Reached!");
- return
- } else {
- if (profit >= largestProfit) {
- if (bet % 2 === 0) {
- prediction = Math.floor((Math.random() * (98 - 80 + 1)) + 80);
- direction = "under"
- } else {
- prediction = Math.floor((Math.random() * (19 - 1 + 1)) + 1);
- direction = "over"
- };
- round = Math.floor((Math.random() * (3 - 1 + 1)) + 1);
- betAmount = basebetAmount
- } else {
- if (direction === "under") {
- prediction = Math.floor(3);
- direction = "under"
- } else {
- if (direction === "over") {
- prediction = Math.floor(96);
- direction = "over"
- }
- };
- round++;
- if (round % 1 === 0) {
- betAmount *= 1.05330
- }
- }
- }
- }
- };
- doBet()
- } else {
- randomizeSeed();
- setInterval(doBet(), 1e3)
- }
- },
- error: function (_0x7065x12, _0x7065x13, _0x7065x14) {
- randomizeSeed();
- setInterval(doBet(), 1e3)
- },
- timeout: function (_0x7065x12, _0x7065x13, _0x7065x14) {
- randomizeSeed();
- setInterval(doBet(), 1e3)
- },
- abetort: function (_0x7065x12, _0x7065x13, _0x7065x14) {
- randomizeSeed();
- setInterval(doBet(), 1e3)
- }
- })
- } else {
- $("#notification").html("Bot stopped!");
- return
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement