++WeaponEffects Documentation

++WeaponEffects in an easy to understand way, for other developers. Please don't 100% copy my full version in put it into a "mod package" or whatever, make your own script. But I'm not selfish so please make your own based off this code. I'm going to get a demanding job and might not be around as much and if so I want this to spark new things. Full version: https://greasyfork.org/en/scripts/370253-weaponeffects

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name ++WeaponEffects Documentation
// @version 2
// @description ++WeaponEffects in an easy to understand way, for other developers. Please don't 100% copy my full version in put it into a "mod package" or whatever, make your own script. But I'm not selfish so please make your own based off this code. I'm going to get a demanding job and might not be around as much and if so I want this to spark new things. Full version: https://greasyfork.org/en/scripts/370253-weaponeffects
// @author Perussi
// @match *://moomoo.io/*
// @grant none
// @namespace https://greasyfork.org/users/128061
// ==/UserScript==

// <3 Je$us

var mk = document.getElementById("gameCanvas").getContext("2d");
var Caa = 0;
var Cab = 0;
var aVZ = 0;
// Katana
var fBX = "<3 KatieW.";

// 1920 1080 (game canvas dimensions for drawing)

function testArc(){
  if(document.getElementById("actionBarItem3")){
    if(document.getElementById("actionBarItem3").style.display === "inline-block"){
      if(fBX !== 3){ // WILL CHANGE "3" HERE
        aVZ = [0];
        fBX = 3;
      }
      aVZ[0] += 1;
      if(480 <= aVZ){
        aVZ[0] = 0;
      }
      mk.beginPath();
      mk.lineWidth = 25;
      mk.strokeStyle = "#dc0000";
      mk.arc(1920/2,1080/2,200,0+Math.PI/240*aVZ,2/3*Math.PI+Math.PI/240*aVZ);
      mk.stroke();
    }
  }
}

function letThereBeLight(){
  testArc();
  window.requestAnimationFrame(letThereBeLight);
}

window.requestAnimationFrame(letThereBeLight);