Minebuns

Minebuns - Full hack menu for Minefun.io / Mine-craft.io (Killaura, Fly, Speed, Nuker, ClickGUI, Arraylist, Watermark...)

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да инсталирате разширение, като например Tampermonkey .

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

// ==UserScript==
// @name         Minebuns
// @namespace    https://greasyfork.org/users/1555234
// @version      1.0.3
// @description  Minebuns - Full hack menu for Minefun.io / Mine-craft.io (Killaura, Fly, Speed, Nuker, ClickGUI, Arraylist, Watermark...)
// @author       Faw + Grok
// @match        *://*.minefun.io/*
// @match        *://*.mine-craft.io/*
// @match        *://minefun.io/*
// @match        *://mine-craft.io/*
// @grant        none
// @run-at       document-start
// @license      MIT
// ==/UserScript==
(()=>{ "use strict"; const css=`@font-face{font-family:"Product Sans";src:ur[](https://fonts.gstatic.com/s/productsans/v19/pxiDypQkot1TnFhsFMOfGShVF9eO.woff2)}:root{--Minebuns-accent-color:linear-gradient(90deg,rgb(64,190,255)0%,rgb(129,225,255)100%);--button-color:rgba(40,40,40,.9);--hover-color:rgba(50,50,50,.9);--panel-bg:rgba(10,10,10,.85);--text-color:#fff;--header-text-size:25px;--button-text-size:20px;--setting-text-size:15px}.gui-panel{position:fixed;z-index:1000;width:200px;border-radius:8px;background-color:var(--panel-bg);box-shadow:0 4px 8px rgba(0,0,0,.3);font-family:'Product Sans',sans-serif;color:var(--text-color);overflow:hidden}.gui-header{background:var(--Minebuns-accent-color);height:40px;font-weight:900;display:flex;align-items:center;justify-content:center;font-size:var(--header-text-size);cursor:grab}.gui-header:active{cursor:grabbing}.gui-button{height:35px;display:flex;align-items:center;padding-left:10px;box-sizing:border-box;cursor:pointer;transition:all .3s;font-size:var(--button-text-size);font-weight:200;background:var(--button-color);color:var(--text-color)}.gui-button.enabled{background:var(--Minebuns-accent-color)}.gui-button:not(.enabled):hover{background:var(--hover-color)}.gui-background{position:absolute;left:0;top:0;z-index:999;height:100%;width:100%;backdrop-filter:blur(15px);background:rgba(0,0,0,.3)}.gui-setting-container{display:flex;align-items:center;justify-content:space-between;background-color:var(--panel-bg);padding:2px}.gui-setting-label{font-size:var(--setting-text-size);margin-left:10px;font-weight:300;color:var(--text-color)}.gui-checkbox{width:15px;height:15px;border-radius:4px;background:var(--button-color);margin:8px;cursor:pointer;transition:background .3s}.gui-checkbox.enabled{background:var(--Minebuns-accent-color)}.with-animations .gui-panel{animation:fadeInScale .3s ease-out}@keyframes fadeInScale{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}`;const style=document.createElement("style");style.textContent=css;(document.head||document.documentElement).appendChild(style);const s={listeners:{},on(e,t){this.listeners[e]||(this.listeners[e]=[]);this.listeners[e].push(t)},emit(e,t){this.listeners[e]&&this.listeners[e].forEach(n=>n(t))}};class o{constructor(e,t,n,s){this.name=e;this.category=t;this.options=n||{};this.keybind=s;this.waitingForBind=!1;this.isEnabled=!1}enable(){this.isEnabled=!0;s.emit("module.update",this);this.onEnable&&this.onEnable()}disable(){this.isEnabled=!1;s.emit("module.update",this);this.onDisable&&this.onDisable()}toggle(){this.isEnabled?this.disable():this.enable()}}class i extends o{constructor(){super("Arraylist","Visual")}}class r extends o{constructor(){super("Watermark","Visual")}}class M extends o{constructor(){super("ClickGUI","Visual",{}, "ShiftRight");this.panel=null;this.isOpen=!1;this.dragging=!1;this.dragOffset={x:0,y:0}}createPanel(){if(this.panel)return; this.background=document.createElement("div");this.background.className="gui-background";this.background.style.display="none";document.body.appendChild(this.background);this.panel=document.createElement("div");this.panel.className="gui-panel with-animations";this.panel.style.left="300px";this.panel.style.top="100px";this.panel.style.display="none";const header=document.createElement("div");header.className="gui-header";header.textContent="Minebuns 1.0.3";this.panel.appendChild(header);const moduleList=document.createElement("div");moduleList.style.maxHeight="400px";moduleList.style.overflowY="auto";Object.values(Y.modules).forEach(mod=>{if(mod.name==="ClickGUI")return;const btn=document.createElement("div");btn.className="gui-button";btn.textContent=mod.name+(mod.keybind?` [${mod.keybind}]`:"");if(mod.isEnabled)btn.classList.add("enabled");btn.onclick=()=>{mod.toggle();btn.classList.toggle("enabled",mod.isEnabled)};btn.oncontextmenu=(e)=>{e.preventDefault();mod.waitingForBind=!0;btn.textContent=mod.name+" [...]"};moduleList.appendChild(btn)});this.panel.appendChild(moduleList);document.body.appendChild(this.panel);header.addEventListener("mousedown",(e)=>{if(e.button!==0)return;this.dragging=!0;this.dragOffset.x=e.clientX-this.panel.offsetLeft;this.dragOffset.y=e.clientY-this.panel.offsetTop});document.addEventListener("mousemove",(e)=>{if(!this.dragging)return;this.panel.style.left=(e.clientX-this.dragOffset.x)+"px";this.panel.style.top=(e.clientY-this.dragOffset.y)+"px"});document.addEventListener("mouseup",()=>{this.dragging=!1});this.background.addEventListener("click",()=>this.toggleGUI())}toggleGUI(){this.isOpen=!this.isOpen;if(!this.panel)this.createPanel();this.panel.style.display=this.isOpen?"block":"none";this.background.style.display=this.isOpen?"block":"none"}onEnable(){}}class S extends o{constructor(){super("Airjump","Movement")}onRender(){const p=a?.gameWorld?.player;if(p&&p.inputs.jump&&!p.collision.isGrounded){p.collision.isGrounded=!0}}}class I extends o{constructor(){super("Fly","Movement",{"Vertical Speed":5});this.originalGravity=null}onEnable(){const player=a?.gameWorld?.player;if(player){this.originalGravity=player.velocity.gravity;player.velocity.gravity=0}}onRender(){const p=a?.gameWorld?.player;if(!p)return;if(p.inputs.jump)p.velocity.velVec3.y=this.options["Vertical Speed"];else if(p.inputs.crouch)p.velocity.velVec3.y=-this.options["Vertical Speed"];else p.velocity.velVec3.y=0}onDisable(){const player=a?.gameWorld?.player;if(player&&this.originalGravity!==null){player.velocity.gravity=this.originalGravity;this.originalGravity=null}}}class T extends o{constructor(){super("Speed","Movement",{Speed:15});this.originalMoveSpeed=null;this.originalFastMoveSpeed=null}onEnable(){const player=a?.gameWorld?.player;if(player){this.originalMoveSpeed=player.velocity.moveSpeed;this.originalFastMoveSpeed=player.velocity.fastMoveSpeed;player.velocity.moveSpeed=this.options.Speed;player.velocity.fastMoveSpeed=this.options.Speed}}onDisable(){const player=a?.gameWorld?.player;if(player){if(this.originalMoveSpeed!==null)player.velocity.moveSpeed=this.originalMoveSpeed;if(this.originalFastMoveSpeed!==null)player.velocity.fastMoveSpeed=this.originalFastMoveSpeed}}}class K extends o{constructor(){super("HighJump","Movement",{"Jump Height":25});this.originalJumpSpeed=null}onEnable(){const player=a?.gameWorld?.player;if(player){this.originalJumpSpeed=player.velocity.jumpSpeed;player.velocity.jumpSpeed=parseFloat(this.options["Jump Height"])}}onDisable(){const player=a?.gameWorld?.player;if(player&&this.originalJumpSpeed!==null){player.velocity.jumpSpeed=this.originalJumpSpeed;this.originalJumpSpeed=null}}}const Y={modules:{},addModules(...e){for(const t of e){const mod=new t();this.modules[mod.name]=mod}},handleKeyPress(e){for(let t in this.modules){let n=this.modules[t];if(n.waitingForBind){n.keybind=e;n.waitingForBind=!1}else if(n.keybind===e){n.toggle()}}},init(){this.addModules(i,r,M,S,I,T,K);s.on("render",()=>{for(let e in this.modules){if(this.modules[e].isEnabled)this.modules[e].onRender&&this.modules[e].onRender()}});s.on("keydown",this.handleKeyPress.bind(this));this.modules.Arraylist&&this.modules.Arraylist.enable();this.modules.Watermark&&this.modules.Watermark.enable()}};const a={gameWorld:null};window.minebuns=new class{constructor(){this.version="1.0.3";this.init()}init(){setInterval(()=>s.emit("render"),1000/60);document.addEventListener("keydown",e=>s.emit("keydown",e.code));Y.init()}}();})();