kill counter

script to display number of kills

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
python coder
今日安裝
0
安裝總數
510
評價
0 0 0
版本
2.0
建立日期
2024-01-06
更新日期
2024-01-28
尺寸
3.6 KB
授權條款
MIT
腳本執行於

Kill Counter


usage

when script is loaded click the 'change target' button and enter the amount of golden eggs you are targeting to achieve

costomisation

changing object positions

change the <value>pxto change pos in the following codes:

for change target button

(function() {
    'use strict';
    updateValues();
    createStyledButton('10px', '0px');
    setInterval(updateValues, 1000); // Update values every second (adjust as needed)
})();

for kills display

function updateValues() {
    egg_count = eggs();
    displayStyledBox('eggs: ' + egg_count, '50px', '150px');
    needed = calculation(target, egg_count);
    displayStyledBox(message(needed), '10px', '150px');
}

changing for weekends

in the biggening you can see the var increment = 10; in

var egg_count = 0;
var target = 0;
var needed = 0;
var increment = 10;

change that to var increment = 20;

  • note: if you are VIP user you can put var increment = 20; on week days and var increment = 40; on weekend.

About Me

I'm python coder and an active shell shockers player