SHOW:
|
|
- or go back to the newest paste.
1 | // ==UserScript== | |
2 | // @name Diep Custom Background | |
3 | // @namespace http://tampermonkey.net/ | |
4 | // @version 0.1 | |
5 | // @description Custom backgrounds for diep.io. | |
6 | // @author Adasba | |
7 | // @match http://diep.io | |
8 | // @grant none | |
9 | // ==/UserScript== | |
10 | ||
11 | - | (function() { |
11 | + | input.execute("net_replace_color 2 0x00C0F1"); |
12 | - | 'use strict'; |
12 | + | input.execute("net_replace_color 8 0xEDFF5C"); |
13 | input.execute("net_replace_color 9 0xFC5B5B"); | |
14 | - | var img = document.createElement('img'); |
14 | + | input.execute("net_replace_color 13 0x258FF5A"); |
15 | - | img.src = "https://cdn.discordapp.com/attachments/358671241059762177/472473892259233796/b279af2.jpg"; |
15 | + | input.execute("net_replace_color 15 0xF33C3C"); |
16 | - | img.style = "z-index:-1;width:100%;height:100%;position:absolute;top:0px;left:0px"; |
16 | + | input.execute("net_replace_color 3 000000"); |
17 | - | document.getElementsByTagName('body')[0].appendChild(img); |
17 | + | input.execute("net_replace_color 6 0x00E16E"); |
18 | input.execute("net_replace_color 4 0xF14E54"); | |
19 | input.execute("net_replace_color 5 0xBF7FF5"); | |
20 | input.execute("ui_replace_colors 0x00FFFE 0x0CFF00 0xFF4D4D 0xFFF200 0x4FA4FF 0xC368FF 0xF35CFF 0xFFB078"); | |
21 | - | var shaderButton = document.createElement('button'); |
21 | + | input.set_convar("ren_health_fill_color", 0x00FF0E); |
22 | - | document.getElementsByTagName('body')[0].appendChild(shaderButton); |
22 | + | input.execute("ren_ui_scale 1.42"); |
23 | - | var bg = true; |
23 | + | input.execute("ren_fps true"); |
24 | - | shaderButton.style = "position:absolute; top:10px; left:10px;"; |
24 | + | input.execute("ren_solid_background true"); |
25 | - | shaderButton.innerHTML = "Toggle background"; |
25 | + | input.execute("net_replace_color 10 0x5E64FC"); |