SHARE
TWEET

Untitled

a guest Jun 16th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Freebitco Auto Faucet
  3. // @description  Auto Faucet Script by Ghost, edited by nameless
  4. // @author       nameless
  5. // @match        https://freebitco.in/*
  6. // @grant        none
  7. // ==/UserScript==
  8.  
  9. (function() {
  10.     'use strict';
  11.  
  12. var points = {};
  13.  
  14.  
  15.     if ($('#free_play_form_button').is(':visible'))
  16.         setTimeout(function(){ $('#free_play_form_button').click();},2000);
  17.     if ($('.close-reveal-modal').is(':visible'))
  18.         setTimeout(function(){ $('.close-reveal-modal').click(); },2000);
  19.  
  20.     var reward = {};
  21.     reward.select = function() {
  22.         reward.points = parseInt($('.user_reward_points').text().replace(',',""));
  23.         reward.bonustime = {};
  24.         if ($("#bonus_container_free_points").length != 0) {
  25.             reward.bonustime.text = $('#bonus_span_free_points').text();
  26.             reward.bonustime.hour = parseInt(reward.bonustime.text.split(":")[0]);
  27.             reward.bonustime.min = parseInt(reward.bonustime.text.split(":")[1]);
  28.             reward.bonustime.sec = parseInt(reward.bonustime.text.split(":")[2]);
  29.             reward.bonustime.current = reward.bonustime.hour * 3600 + reward.bonustime.min * 60 + reward.bonustime.sec;
  30.         } else
  31.             reward.bonustime.current = 0;
  32.  
  33.  
  34.         console.log(reward.bonustime.current);
  35.         if (reward.bonustime.current !== 0) {
  36.             console.log(reward.bonustime.current);
  37.         } else {
  38.             if (reward.points < 12) {
  39.                 console.log("waiting for points");
  40.             }
  41.             else if (reward.points < 120) {
  42.                     console.log("waiting for points 60");
  43.                     RedeemRPProduct('free_points_1');
  44.                 }
  45.             else if (reward.points < 600) {
  46.                     console.log("waiting for points 120");
  47.                     RedeemRPProduct('free_points_10');
  48.                 }
  49.             else if (reward.points < 1200) {
  50.                     console.log("waiting for points 600");
  51.                     RedeemRPProduct('free_points_50');
  52.                 }
  53.             else {
  54.                 RedeemRPProduct('free_points_100');
  55.             }
  56.             if ($('#bonus_span_fp_bonus').length === 0)
  57.                 if (reward.points >= 4400)
  58.                     RedeemRPProduct('fp_bonus_1000');
  59.         }
  60.     };
  61.     setTimeout(reward.select,1000);
  62.  
  63.     setTimeout(function(){ location.reload(); }, 10*60*1000);
  64.  
  65.     setInterval(reward.select,60000);
  66. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top