Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var belance = parseFloat(document.getElementById('balance').innerHTML);
- document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5;
- document.getElementsByClassName('form-control in-bet').payout_manual.value =2;
- var bob = 0.00001;
- var cript = bob;
- var god = (bob*2);
- var joe = false;
- var target = 0.0003;
- var snow = 6;
- target = 50000;
- var myseed;
- var mybet;
- var ian = parseFloat(document.getElementById('balance').innerHTML);
- var balancez = parseFloat(document.getElementById('balance').innerHTML);
- var have = parseFloat(document.getElementById('balance').innerHTML);
- parseFloat(document.getElementById("bet_amt").value = bob);
- Dice_CalculateAmounts(1);
- Dice_CalculateAmounts(6);
- Math.fmod = function(a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
- function getR(min, max) {
- min = Math.ceil(min);
- max = Math.floor(max);
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- function makeid(length) {
- var result = '';
- var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
- var charactersLength = characters.length;
- for ( var i = 0; i < length; i++ ) {
- result += characters.charAt(Math.floor(Math.random() *
- charactersLength));
- }
- return result;
- }
- function dobet(){
- console.clear();
- var balancey = document.getElementById('balance').innerHTML;
- balancez = document.getElementById('balance').innerHTML;
- var stuit = document.getElementsByClassName('form-control in-bet').bet_amount.value;
- document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5;
- document.getElementsByClassName('form-control in-bet').payout_manual.value = 2;
- if (mybet==null) {
- mybet = stuit;
- }
- if (balancez<(have-god)) {
- mybet = stuit*2;
- cript = (stuit*2);
- god = (stuit*5);
- have = parseFloat(balancez);
- snow = 6;
- joe = true;
- }
- if (balancez>(have+(cript*snow))) {
- mybet = stuit*2;
- cript = (stuit*2);
- god = (stuit*5);
- snow = 5;
- have = parseFloat(balancez);
- }
- var jim = (Math.floor((balancez-ian)/(bob*10)).toPrecision(1));
- if ((jim==0)&&(joe==true)&&((balancez-ian)>=0)){
- mybet = bob;
- cript = bob;
- god = (bob*2);
- ian = parseFloat(ian);
- have = parseFloat(ian);
- snow = 6;
- joe = false;
- }
- if (jim==1) {
- mybet = bob;
- cript = bob;
- god = (bob*2);
- ian = ian+((jim)*(bob*10));
- have = parseFloat(ian);
- snow = 6;
- joe = false;
- }
- if (jim>1) {
- mybet = bob;
- cript = bob;
- god = (bob*2);
- ian = ian+((jim)*(bob*10));
- have = parseFloat(ian);
- snow = 5;
- joe = false;
- }
- if (balance>=target) {
- //stop();
- return;
- }
- var xol = getR(1,3);
- if (xol==1) {
- myseed = (makeid(8));
- }
- if (xol==2) {
- myseed = (makeid(12));
- }
- if (xol==3) {
- myseed = (makeid(17));
- }
- document.getElementsByClassName("form-control").client_seed.value= myseed;
- document.getElementById("bet_amt").value = mybet;
- Dice_CalculateAmounts(1);
- Dice_CalculateAmounts(6);
- Roll_HiLo_Dice(2);
- }
- setInterval(() => dobet(), (getR(12,24)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement