kill counter

script to display number of kills

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
python coder
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
517
Βαθμολογίες
0 0 0
Έκδοση
2.0
Δημιουργήθηκε την
06/01/2024
Ενημερώθηκε την
28/01/2024
Μέγεθος
4 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