Skip to content

Instantly share code, notes, and snippets.

@vinceroti
vinceroti / autoRoller.js
Last active June 15, 2017 03:47
Auto Roller for earn.gg
function roll() {
let streak = 0;
let count = 500;
let bet = 10;
let xhttp = new XMLHttpRequest();
xhttp.ajaxCall = (bet) => {
xhttp.open("GET", "https://earn.gg/gamble/roll?amount=" + bet + "&payout=2");
setTimeout(function(){
count--
xhttp.send();