Freetrx.in Auto roll

Automatic rolls and claims

  1. // ==UserScript==
  2. // @name Freetrx.in Auto roll
  3. // @namespace
  4. // @version 2.0
  5. // @description Automatic rolls and claims
  6. // @author Alen
  7. // @match https://freetrx.in/*
  8. // @license MIT
  9. // @namespace
  10. // ==/UserScript==
  11. //Please use my Referal-Link https://freetrx.in/?r=24601 Thanks
  12.  
  13. // 點擊 "PLAY WITHOUT CAPTCHA" 按鈕
  14. var playWithoutCaptchaButton = document.getElementById('play_without_captchas_button');
  15. if (playWithoutCaptchaButton) {
  16. playWithoutCaptchaButton.style.display = 'block'; // 確保按鈕可見
  17. playWithoutCaptchaButton.click(); // 點擊 "PLAY WITHOUT CAPTCHA" 按鈕
  18.  
  19. // 等待一段時間,然後執行ROLL操作
  20. setTimeout(function() {
  21. var rollButton = document.getElementById('free_play_form_button');
  22. if (rollButton) {
  23. rollButton.click(); // 點擊 "ROLL" 按鈕
  24. } else {
  25. console.error('無法找到 "ROLL" 按鈕');
  26. }
  27. }, 3000); // 等待3秒後執行ROLL操作
  28. } else {
  29. console.error('無法找到 "PLAY WITHOUT CAPTCHA" 按鈕');
  30. }
  31.  
  32.  
  33. (function() {
  34. 'use strict';
  35.  
  36. (document).ready(function(){
  37. console.log("Status: Page loaded.");
  38.  
  39. setTimeout(function(){
  40. ('#free_play_form_button').click();
  41. console.log("Status: Button ROLL clicked.");
  42. },2000);
  43.  
  44. });
  45.  
  46. function random(min,max){
  47. return min + (max - min) * Math.random();
  48. }
  49.  
  50. function auto_roll()
  51. {
  52. if(document.location.href.indexOf("freetrx.in") == -1)
  53. return;
  54. try_roll();
  55. timer = setInterval(count_up, 101000); /* 1 minutes */
  56. }
  57. setTimeout(function(){
  58. auto_roll();
  59. }, 3000);
  60. })();