Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. // open a twitch channel with channel points
  2. // open inspector (Opera: CTRL + SHIFT + C, Chrome: CTRL + SHIFT + I, Firefox: F12)
  3. // open console in tab
  4. // copy / paste code + ENTER
  5. // only works if you view a live stream. (just open chat is not enough)
  6.  
  7. var chestPoints = 0;
  8. setInterval(function() {
  9. if (document.querySelector(".chat-input__buttons-container .tw-button.tw-button--success.tw-interactive") !== null) {
  10. document.querySelector(".chat-input__buttons-container .tw-button.tw-button--success.tw-interactive").click();
  11. chestPoints += 60;
  12. console.log('Points: ' + chestPoints);
  13. console.log('Time: ' + (new Date()).getHours() + ':' + (new Date()).getMinutes());
  14. } else {
  15. //console.log('nothing D:');
  16. }
  17. }, 10000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement