swordzio tricks

Support extension for SwOrDz.Io

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         swordzio tricks
// @namespace    Reiwilo09
// @version      1.7.0
// @description  Support extension for SwOrDz.Io
// @author       Reiwilo
// @match        *.swordz.io
// @grant        ur mum
// ==/UserScript==
// @license MIT

document.onkeydown = function (key) {
    switch(key.keyCode) {
        case 13: //on ENTER
            inputChat();
            break;
        case 81: //on Q
            changeCap(28);
            break;
        case 86: //on V
            changeCap(29);
            break;
        case 88: //on X
            changeCap(30);
            break;
        case 87:
            inputAttack(true)
            break;
    }
}
document.onkeyup = function (key) {
      switch(key.keyCode) {
           case 87:
             inputAttack(false)
             break; 
     }
}
 function onRender() {
    
    ctx.fillStyle = "red";
    ctx.fillText("Hat 28 [Q]", 80, 80);

    ctx.fillStyle = "red";
    ctx.fillText("Hat 29 [V]", 80, 100);

    ctx.fillStyle = "red";
    ctx.fillText("Hat 30 [X]", 80, 120);

    
    requestAnimationFrame(onRender);

}
 
onRender();