Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var tmp = $;
- // Set an interval
- setInterval(function() {
- // Get the amount of actions left
- var actionsLeft = parseInt(tmp('.action-timer__text').textContent.split(' ')[2]);
- // If amount of actions left is anywhere between 5-20
- if (actionsLeft < Math.floor(Math.random() * (20 - 5 + 1) + 5)) {
- // Trigger click on .action-timer (might be the wrong element), might be protected as well, no idea.
- tmp('.action-timer').click();
- // Repeat every 5 seconds
- }, 5000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement