JustDoesGames

Edu Script

May 23rd, 2021
1,226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.35 KB | None | 0 0
  1. // EDU HACK REDDIT EDITON VERSION 1.0.2 //
  2. if (running == null) {
  3.     var running = null; console.log('Program Loading...');
  4.     var line = document.getElementById('activity-status');
  5.     var actt = document.getElementById('activity-title');
  6.     var iframe = document.getElementById('stageFrame'); console.clear();
  7.     for (i=0;i<1;i++) {
  8.         setInterval(function() {
  9.             if (running == null) { running = true; console.log('Program Loaded! Enjoy!') }
  10.             if (iframe.contentWindow.document.getElementsByClassName('FrameRight')[0] != null) { iframe.contentWindow.document.getElementsByClassName('FrameRight')[0].onclick(); }
  11.             if (iframe.contentWindow.document.getElementById('invis-o-div') != null) { iframe.contentWindow.document.getElementById('invis-o-div').remove(); console.log('Removed Barrier');}
  12.             if (document.getElementsByClassName('footnav goRight')[0] != null) { document.getElementsByClassName('footnav goRight')[0].click();}
  13.             if (line != null) { line.innerHTML = 'Script Active.'; line.style.color = '#777'; }
  14.             if (actt != null) { if (actt.innerHTML == 'Instruction' || actt.innerHTML == 'Warm-Up' || actt.innerHTML == 'Unit Test Review') {actt.style.color = '#59ff5b'} else {actt.style.color = '#ff5959'} }
  15.         },1000);
  16.     }
  17. } else {
  18.     console.log('Program already running!')
  19. }
Advertisement
Add Comment
Please, Sign In to add comment