Greasy Fork is available in English.

kill counter

script to display number of kills

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
Rachit Murarka
일일 설치수
0
총 설치수
412
평점
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