Jump to content

Kill top | Shows the top killers


Swayl

Recommended Posts

 

KillTop | Configurable

This script is usually useful for PvP servers.

It's currently set to top 5 most kills,

But it can be easily set

to top 10 by simply changing

 image.png.a9ffd8763cca1c459ccb1479f275ca91.png

to

image.png.a00d19d0093f43d7171850bf1e9c0f05.png

(This script is not mine. It belongs to MrScopes, I'm simply just sharing it.)

 

Commands - /killtop or /kt

command /killtop [<text>]:
    aliases:kt
    trigger:
        set {_top} to 5

        send ""
        send " &b&lKill top &3(Top 5 Killers)"
        send ""
        set {_top::*} to sorted {kills::*} from highest to lowest with format "@index" # Assuming {kills::%uuid of player%} is your kills variable
        loop {_top::*}:
            add 1 to {_n}

            set {_p} to "%loop-value%" parsed as offline player
            set {_player} to {_p}'s uuid

            send " &3(##%{_n}%) &b%{_p}% &3(%{kills::%{_player}%}% kills)"

            if {_n} is {_top}:
                stop loop

        send ""

 

  • Like 3
  • Thanks 2

Things to know about me

• I have 2 years of skript experience

• I work on my servers all by myself
• I like being alone

• I have insane trust issues

• I simp for alot of people (trying my best not to)

• My mental age is somewhere 8

• I dont like meeting new people

• Very toxic

 

Discord Swayl#0099

MC IGN - Swayl

(I suggest avoiding me because I get too attached to people quick)

Link to comment
Share on other sites

28 minutes ago, Trent said:

What about how to store kills? I feel like this script is tough without its counterpart.

Agreed.

  • Thanks 1

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

On 6/11/2019 at 3:54 AM, Swayl said:

 

KillTop | Configurable

This script is usually useful for PvP servers.

It's currently set to top 5 most kills,

But it can be easily set

to top 10 by simply changing

 image.png.a9ffd8763cca1c459ccb1479f275ca91.png

to

image.png.a00d19d0093f43d7171850bf1e9c0f05.png

(This script is not mine. It belongs to MrScopes, I'm simply just sharing it.)

 

Commands - /killtop or /kt


command /killtop [<text>]:
    aliases:kt
    trigger:
        set {_top} to 5

        send ""
        send " &b&lKill top &3(Top 5 Killers)"
        send ""
        set {_top::*} to sorted {kills::*} from highest to lowest with format "@index" # Assuming {kills::%uuid of player%} is your kills variable
        loop {_top::*}:
            add 1 to {_n}

            set {_p} to "%loop-value%" parsed as offline player
            set {_player} to {_p}'s uuid

            send " &3(##%{_n}%) &b%{_p}% &3(%{kills::%{_player}%}% kills)"

            if {_n} is {_top}:
                stop loop

        send ""

 

Very cool, and flexible skript. 

 

721034654735532112.gif.966bd6f1cb909ca87f1548614acb4131.gif

984d8967114f41b9e72bfd5c454fbd5d.png

achievement.png

Link to comment
Share on other sites

13 minutes ago, Vinixs said:

Very cool, and flexible skript. 

Thank you very much! ❤️ 

  • Like 1

Things to know about me

• I have 2 years of skript experience

• I work on my servers all by myself
• I like being alone

• I have insane trust issues

• I simp for alot of people (trying my best not to)

• My mental age is somewhere 8

• I dont like meeting new people

• Very toxic

 

Discord Swayl#0099

MC IGN - Swayl

(I suggest avoiding me because I get too attached to people quick)

Link to comment
Share on other sites

I didn't even know you could sort a variable like that! Nice skript MrScopes.

  • Like 2

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

Username: SuperOrca

Discord: Link to Profile

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored).

Link to comment
Share on other sites

3 hours ago, SuperOrca said:

I didn't even know you could sort a variable like that! Nice skript MrScopes.

I know!! It's very helpful. Truly thanks to MrScopes 😄 

Things to know about me

• I have 2 years of skript experience

• I work on my servers all by myself
• I like being alone

• I have insane trust issues

• I simp for alot of people (trying my best not to)

• My mental age is somewhere 8

• I dont like meeting new people

• Very toxic

 

Discord Swayl#0099

MC IGN - Swayl

(I suggest avoiding me because I get too attached to people quick)

Link to comment
Share on other sites

On 6/11/2019 at 10:57 AM, Trent said:

What about how to store kills? I feel like this script is tough without its counterpart.

it's super simple to store kills under that variable, someone asked me to help them with a killtop so I sent them this

Discord: MrScopes#5548

Link to comment
Share on other sites

11 minutes ago, MrScopes said:

it's super simple to store kills under that variable, someone asked me to help them with a killtop so I sent them this

I've already released a script that stores kills under that variable... But I do think it can be improved. here it is.

  • Like 1
  • Thanks 1

Things to know about me

• I have 2 years of skript experience

• I work on my servers all by myself
• I like being alone

• I have insane trust issues

• I simp for alot of people (trying my best not to)

• My mental age is somewhere 8

• I dont like meeting new people

• Very toxic

 

Discord Swayl#0099

MC IGN - Swayl

(I suggest avoiding me because I get too attached to people quick)

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...