Advertisement
LGPvS

click-eraser 2x2

Jul 27th, 2017
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. // ==UserScript==
  2. // @name click-eraser 2x2
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match http://www.ourworldofpixels.com/beta/*
  8. // @grant none
  9. // ==/UserScript==
  10. spamclick=function(){WorldOfPixels.net.updatePixel(Math.floor(WorldOfPixels.mouse.worldX / 16)+0,Math.floor(WorldOfPixels.mouse.worldY / 16)+0,["255","255","255"]); WorldOfPixels.net.updatePixel(Math.floor(WorldOfPixels.mouse.worldX / 16)+0,Math.floor(WorldOfPixels.mouse.worldY / 16)+1,["255","255","255"]); WorldOfPixels.net.updatePixel(Math.floor(WorldOfPixels.mouse.worldX / 16)+1,Math.floor(WorldOfPixels.mouse.worldY / 16)+0,["255","255","255"]); WorldOfPixels.net.updatePixel(Math.floor(WorldOfPixels.mouse.worldX / 16)+1,Math.floor(WorldOfPixels.mouse.worldY / 16)+1,["255","255","255"]);};
  11. startspamclicking = function(){addEventListener("click",spamclick);};
  12. stopspamclicking = function(){removeEventListener("click",spamclick);};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement