// ==UserScript==
// @name Scenexe.io Tools by Ashy [have fun!]
// @namespace http://tampermonkey.net/
// @version 1.1.2
// @description Special Scenexe.io Tools. Better than others...:) (see ur settings & debug-mode ;) [press "o" & "m"])
// @author Ashy恨你#3219
// @match https://scenexe.io/
// @match https://new-test.scenexe.io/
// @icon https://www.google.com/s2/favicons?sz=64&domain=scenexe.io
// @grant none
// @license MIT
// @downloadURL none
// ==/UserScript==
//=========================Changelog=========================
/*
So yeah...
--Balances & changes
>Zoom
-blocked zoom while settings are opened
-decimal point changed from two places to one
-wheel frequency changed from 0.3 -> 0.2
>Debug-mode
-removed and minimalized margins & paddings
>News
-option to display tools (see in settings)
-added set of cursors (see in settings)
//delete ur othes scripts, there is everything u need
*/
"use strict";
usingAdBlocker = false;
(() => {
let _08x24fr = document.createElement('div');
_08x24fr.style.position = "fixed";
_08x24fr.style.left = "18%";
_08x24fr.style.fontSize = "30px";
_08x24fr.style.fontWeight = "bolder";
_08x24fr.style.color = "white";
_08x24fr.style.webkitTextStrokeWidth = "2px";
_08x24fr.style.webkitTextStrokeColor = "black";
_08x24fr.setAttribute('class', 'Box');
document.getElementsByTagName("body")[0].appendChild(_08x24fr);
let _08x24gf = 0;
let _18x24gf = 0;
let _28x24gf = 0;
setInterval(() => {
_08x24gf += 1;
_08x24fr.textContent = _28x24gf + ":" + _18x24gf + ":" + _08x24gf;
if(_08x24gf == 60){
_08x24gf = 0;
_18x24gf++;
}
if(_18x24gf == 60){
_18x24gf = 0;
_28x24gf++;
}
}, 1000);
})();
const deb = document.getElementById("debug-mode");
const deb_p = document.querySelectorAll("#debug-mode > p");
const settings = document.querySelector("#settings");
const Div = document.querySelector("#settings-scroll");
deb_p.forEach(el => {
el.style.padding = "0px";
el.style.margin = "0px";
el.style.width = "400px";
});
deb.insertAdjacentHTML("beforeend",
'
Zoom: 1
' +
'Darkness: '
);
Div.insertAdjacentHTML("beforeend",
`
Display tools
` +
`
Others
`
);
var z = document.getElementById("zoom");
var d = document.getElementById("darrek");
var zoom = 1;
var cha = document.getElementById("chat");
function change_scs(s_size) {
if (zoom <= 1) {
zoom = 1;
}
z.textContent = "Zoom: " + zoom.toFixed(1);
Object.defineProperty(Object.prototype, "cameraSizeMultiplier", { configurable: true, get: () => s_size, set: () => { } });
}
document.addEventListener("wheel", (e) => {
if(!settings.classList.contains("hide")) {
e.preventDefault();
}
else if(e.deltaY > 0){
zoom += 0.2;
}
else{
zoom -= 0.2;
}
change_scs(zoom);
});
const c = document.getElementById('dark');
const fu = document.querySelector("#darkness-canvas");
const timer = document.querySelector(".Box");
const t = document.querySelector("#t");
const dz = document.querySelector("#Zzz");
const dd = document.querySelector("#dddd");
const cur = document.getElementById("cur");
const sel = document.getElementById("sel");
var bg = document.getElementById("background");
sel.addEventListener("click", () => {
let v = sel.value;
bg.setAttribute("style", "cursor: " + v + ";");
});
cur.addEventListener("click", () => {
if(cur.checked == true) {
sel.removeAttribute("disabled", "disabled");
}else{
sel.setAttribute("disabled", "disabled");
}
});
(function(){
cha.style.zIndex = "10";
c.checked = true;
t.checked = !false;
dz.checked = !false;
dd.checked = !false;
fu.setAttribute("style", "z-index: -20;");
bg.setAttribute("style", "cursor: default;");
})();
function _0x38cf2f(){
if(c.checked == !false){
fu.setAttribute("style", "z-index: -20;");
}else{
fu.setAttribute("style", "z-index: -2;");
}
}
function _0x38c2cched02(element, tar){
if(element.checked == !false) {
tar.style.display = "block";
}else{
tar.style.display = "none";
}
}
c.addEventListener("click", _0x38cf2f);
t.addEventListener("click", () => {
_0x38c2cched02(t, timer);
});
dz.addEventListener("click", () => {
_0x38c2cched02(dz, z);
});
dd.addEventListener("click", () => {
_0x38c2cched02(dd, d);
});