0% found this document useful (0 votes)
563 views2 pages

Auto Roll

This document contains a userscript that automates tasks on the freebitco.in faucet website. It purchases lottery tickets if the user has enough points, clicks buttons to claim rewards, and redeems points for different rewards based on the amount of points. It also reloads the page every 10 minutes and checks for new rewards every 60 seconds.

Uploaded by

Baasansuren
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
563 views2 pages

Auto Roll

This document contains a userscript that automates tasks on the freebitco.in faucet website. It purchases lottery tickets if the user has enough points, clicks buttons to claim rewards, and redeems points for different rewards based on the amount of points. It also reloads the page every 10 minutes and checks for new rewards every 60 seconds.

Uploaded by

Baasansuren
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

// ==UserScript==

// @name Freebitco Auto Faucet


// @description Auto Faucet Script by Ghost, edited by nameless
// @author nameless
// @match https://freebitco.in/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

var points = {};

if($('#free_play_captcha_container').is(':visible')){
if(parseInt($('#balance').text().split(".")[1])>5555){
$('#lottery_tickets_purchase_count').val("5555");
}else{
$('#lottery_tickets_purchase_count').val(parseInt($
('#balance').text().split(".")[1]));
}
$('#purchase_lottery_tickets_button').click();
}

if ($('#free_play_form_button').is(':visible'))
setTimeout(function(){ $('#free_play_form_button').click();},2000);
if ($('.close-reveal-modal').is(':visible'))
setTimeout(function(){ $('.close-reveal-modal').click(); },2000);

var reward = {};


reward.select = function() {
reward.points = parseInt($('.user_reward_points').text().replace(',',""));
reward.bonustime = {};
if ($("#bonus_container_free_points").length != 0) {
reward.bonustime.text = $('#bonus_span_free_points').text();
reward.bonustime.hour = parseInt(reward.bonustime.text.split(":")[0]);
reward.bonustime.min = parseInt(reward.bonustime.text.split(":")[1]);
reward.bonustime.sec = parseInt(reward.bonustime.text.split(":")[2]);
reward.bonustime.current = reward.bonustime.hour * 3600 +
reward.bonustime.min * 60 + reward.bonustime.sec;
} else
reward.bonustime.current = 0;

console.log(reward.bonustime.current);
if (reward.bonustime.current !== 0) {
console.log(reward.bonustime.current);
} else {
if (reward.points < 12) {
console.log("waiting for points");
}
else if (reward.points < 120) {
console.log("waiting for points 60");
RedeemRPProduct('free_points_1');
}
else if (reward.points < 600) {
console.log("waiting for points 120");
RedeemRPProduct('free_points_10');
}
else if (reward.points < 1200) {
console.log("waiting for points 600");
RedeemRPProduct('free_points_50');
}
else {
RedeemRPProduct('free_points_100');
}
if ($('#bonus_span_fp_bonus').length === 0)
if (reward.points >= 4400)
RedeemRPProduct('fp_bonus_1000');
}
};
setTimeout(reward.select,1000);

setTimeout(function(){ location.reload(); }, 10*60*1000);

setInterval(reward.select,60000);
})();

You might also like