Surviv.io | AWM Guns

Turn every gun into awms.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Surviv.io | AWM Guns
// @namespace    http://tampermonkey.net/
// @version      1.0
// @icon         https://static.wikia.nocookie.net/survivio/images/8/86/Awm.png/revision/latest?cb=20180728101224
// @description  Turn every gun into awms.
// @author       sk
// @match        https://surviv.io
// @match        https://surviv.io/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
var gun = ""
var ammo = ""
var func = {
    webpack_inject: (w, e, get) => {
        gun = get("ad1c4e70")
        ammo = get("764654e6")
    },
};
if(typeof window.webpackJsonp === 'function') {
    window.webpackJsonp([0], func, ["webpack_inject"]);
} else {
    window.webpackJsonp.push([
        ["webpack_inject"],
        func,
        [["webpack_inject"]]
    ]);
}
Object.keys(gun).forEach(function(key) {
    if(gun[key].type === "gun") {
        gun[key].dualWieldType = "AWM-S";
        gun[key].lootImg.sprite = "loot-weapon-awc.img";
        }
})
Object.keys(ammo).forEach(function(key) {
    if(ammo[key].type === "ammo") {
        ammo[key].lootImg.tint = 3225600;
        ammo[key].lootImg.tintDark = 2435840;
        }
})
})();