Advertisement
iProgeny

zombs.io cheat test script for tamper monkey

Mar 7th, 2019
1,053
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Zombs.io first cheat
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  try to take over the world!
  6. // @author       iProgeny
  7. // @match        *://zombs.io/*
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11.  
  12.  
  13. (function() {
  14.     /*
  15.     Health bar UI = .hud-health-bar-inner
  16.     Night background UI = .hud-day-night-overlay
  17.     Border time lapse bar UI = .hud-day-night-ticker
  18.     Announcement Shutdown Overlay UI = .AnnouncementOverlay
  19.     Announcement Shutdown UI = hud-announcement-shutdown
  20.     */
  21.     var r=255,g=0,b=0;
  22.     var healthBarColor, playerNameColor, scoreColor, waveColor;
  23.     //Function that remove the background opacity for the night overlay
  24.     var dayNightOverlayRemove = document.getElementsByClassName("hud-day-night-overlay")[0].style.backgroundColor = "transparent";
  25.     setInterval(function() {
  26.         if(r > 0 && b == 0){
  27.             r--;
  28.             g++;
  29.          }
  30.          if(g > 0 && r == 0){
  31.             g--;
  32.             b++;
  33.          }
  34.          if(b > 0 && g == 0){
  35.             r++;
  36.             b--;
  37.         }
  38.         healthBarColor = document.getElementsByClassName("hud-health-bar-inner")[0].style.backgroundColor = "rgb("+r+","+g+","+b+")";
  39.       playerNameColor = document.getElementsByClassName("is-active")[0].style.color = "rgb("+r+","+g+","+b+")";
  40.       scoreColor = document.getElementsByClassName("player-score")[0].style.color = "rgb("+r+","+g+","+b+")";
  41.       waveColor = document.getElementsByClassName("player-wave")[0].style.color = "rgb("+r+","+g+","+b+")";
  42.       document.getElementsByClassName("hud-day-night-overlay")[0].style.opacity = "0"
  43.     }, 10);
  44. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement