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 lol=0;
- var fraction=200;
- 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.05)) {
- nextbet=basebet;
- more=(parseFloat(balance));
- }else if (Math.fmod(loss,(getR(8,11)))==0) {
- nextbet=previousbet*2;
- }else{
- nextbet=previousbet;
- }
- if (balance < nextbet) {
- //stop();
- $('#notification').html('you busted');
- alert('you busted');
- log('you busted');
- return;
- }
- 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