Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {fejl.kills::%player%} to {kills::%uuid of player%}
- set {navn.%player%} to "%player%"
- on death:
- wait 3 ticks
- set {fejl.kills::%attacker%} to {kills::%uuid of attacker%}
- command /topkills:
- Permission: *
- trigger:
- loop {fejl.kills::*}:
- add 1 to {_size}
- if {_low.to.high.list::%loop-value%} is not set:
- set {_low.to.high.list::%loop-value%} to loop-index
- else:
- set {_n} to 0
- loop {_size} times:
- set {_n} to {_n}+1
- {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
- set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
- stop loop
- wait 1 tick
- set {_n} to size of {_low.to.high.list::*}
- loop {_low.to.high.list::*}:
- set {_high.to.low.list::%{_n}%} to loop-value
- set {_n} to {_n}-1
- send "&7Loader TopKills"
- wait 2 seconds
- send "&3&m---&r &b&m---&r &3&lTOP KILLS &b&m---&r &3&m---&r"
- send " "
- loop {_high.to.low.list::*}:
- add 1 to {_result}
- send "&3%{_result}% &r&8- &b%{navn.%loop-value%}% &8- &b%{icosa::%loop-value%}% &3Kills" to player
- if {_result} is 10:
- stop
Advertisement
Add Comment
Please, Sign In to add comment