Better than other zor hax
当前为
// ==UserScript==
// @name zorHax vBetter
// @namespace http://tampermonkey.net/
// @version 1.9
// @description Better than other zor hax
// @author You
// @match *://zorb.io/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
window.addEventListener('load',function(){
window.console=Raven._originalConsoleMethods;
window.oldConsoleLog=window.console.log;
window.console.log=window.console.log.bind(function(){
if([...arguments].join(" ")=="Game started!")window.scanForCurrentPlayer();
window.oldConsoleLog(...arguments);
});
setInterval(()=>{
ZOR.UI.engine.set("player_color",Math.floor(Math.random()*26));
},1000);
window.currentPlayer=function(){return null;};
setInterval(()=>{
if(!window.currentPlayer())return;
window.currentPlayer().model.abilities.speed_boost.active_duration=0;
window.currentPlayer().model.abilities.speed_boost.cooldown_delay=0;
},0);
},false);
window.scanForCurrentPlayer=function(){
Object.keys(ZOR.Game.players).forEach(p=>{
if(typeof ZOR.Game.players[p]!="undefined"){
if(ZOR.Game.players[p].is_current_player){
window.currentPlayer=function(){return ZOR.Game.players[p];};
window.currentPlayer().model.abilities.speed_boost.isReady=function(){return true;};
window.currentPlayer().model.abilities.speed_boost.min_scale=0;
//window.currentPlayer().getSpeed=function(){return window.currentPlayer().model.getSpeed()*1.75;};
}
console.log(ZOR.Game.players[p]);
}
});
}
})();