Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getR(min, max) {
- min = Math.ceil(min);
- max = Math.floor(max);
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
- var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var loss=2;
- var fraction=20;
- var basebet=longer/fraction;
- var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
- var target = 12000;
- parseFloat(document.getElementById('BetSizeInput').value = (basebet));
- function dobet(){
- var chance = 49.95;
- var secret = parseFloat($('#LastBetInfoSecret').html());
- var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
- var nextbet;
- var previousbet=document.getElementById('BetSizeInput').value;
- document.getElementById('BetChanceInput').value = chance;
- if (secret > 499499) {
- loss++;
- }
- if (balance >= (more*1.5)) {
- nextbet=basebet;
- more=(parseFloat(balance));
- }else if (Math.fmod(loss,(getR(11,16)))==0) {
- nextbet=previousbet*2;
- }else{
- nextbet=previousbet;
- }
- if (balance > target) {
- //stop();
- $('#notification').html('Relax & Reload');
- alert('Relax & Reload');
- log('Relax & Reload');
- return;
- }
- parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
- $('#BetLowButton').click();}
- setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement