Greasy Fork is available in English.

kill counter

script to display number of kills

作者
Rachit Murarka
日安装量
3
总安装量
424
评分
0 0 0
版本
2.0
创建于
2024-01-06
更新于
2024-01-28
许可证
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