Advertisement
LeDucTai

Auto farm popcat.click script ver 3.

Aug 19th, 2021
2,155
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. (()=>{
  2. console.clear()
  3. var event = new KeyboardEvent('keydown', {key: 'g',ctrlKey: true});
  4. var pop_cnt = 795; //Initial value
  5. // Start sendStats interval
  6. document.dispatchEvent(event);
  7. var vue = document.getElementById('app').__vue__;
  8. vue.accumulator = pop_cnt; // Set vue to initial pop count
  9. var total = 0; // Total pops
  10. var N = 0; //Count valid transactions
  11. var iv = setInterval(()=>{
  12. var vue = document.getElementById('app').__vue__; // Get VUE
  13. if(vue.bot){ // Check if user is marked as bot (just for safety measures, very unlikely to happen)
  14. console.log("%c You've been barked as a bot. Please clear your cookies.", "background: #a00; color: #fff");
  15. clearInterval(iv);
  16. return;
  17. }
  18. // Prevent ban
  19. vue.sequential_max_pops = 0;
  20. // Detect sendStats function run
  21. if (vue.accumulator == 0){
  22. total += pop_cnt;
  23. N++;
  24. console.log(`${N}: [${new Date().toLocaleTimeString()}] %c${pop_cnt} pops sent (Total: ${total})`, "color: #0f0");
  25. document.dispatchEvent(event); //prevent idle
  26. pop_cnt = 795-Math.floor(Math.random()*10);
  27. vue.accumulator = pop_cnt; // Set pops
  28. } else {
  29. vue.open = false;
  30. }
  31. }, 1000);
  32. console.log("%c Bot started. Waiting for the first request being sent. ", "background: #050; color: #0f0");
  33. })();
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement