Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- if {%player's uuid%::lastattacker} is set:
- if {%player's uuid%::lastattacker} is not "null":
- add 1 to {kills::%{%player's uuid%::lastattacker}%}
- add 1 to {deaths::%player's uuid%}
- set death message to "%{%player's uuid%::lastattackers}% has killed %player%!"
- cancel item drops
- on damage of a player:
- set {%victim's uuid%::lastattacker} to attacker's uuid
- set {%victim's uuid%::lastattackers} to attacker
- command /topkills:
- trigger:
- set {_1st.point} to 0
- set {_2nd.point} to 0
- set {_3rd.point} to 0
- set {_4th.point} to 0
- set {_5th.point} to 0
- set {_6th.point} to 0
- set {_7th.point} to 0
- set {_8th.point} to 0
- set {_9th.point} to 0
- set {_10th.point} to 0
- loop {kills::*}:
- if loop-value is more than {_1st.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to {_1st}
- set {_2nd.point} to {_1st.point}
- set {_1st} to loop-index
- set {_1st.point} to loop-value
- else if loop-value is more than {_2nd.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to loop-index
- set {_2nd.point} to loop-value
- else if loop-value is more than {_3rd.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to loop-index
- set {_3rd.point} to loop-value
- else if loop-value is more than {_4th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to loop-index
- set {_4th.point} to loop-value
- else if loop-value is more than {_5th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to loop-index
- set {_5th.point} to loop-value
- else if loop-value is more than {_6th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to loop-index
- set {_6th.point} to loop-value
- else if loop-value is more than {_7th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to loop-index
- set {_7th.point} to loop-value
- else if loop-value is more than {_8th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to loop-index
- set {_8th.point} to loop-value
- else if loop-value is more than {_9th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to loop-index
- set {_9th.point} to loop-value
- else if loop-value is more than {_10th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- else if loop-value is more than {_11th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- else if loop-value is more than {_12th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- else if loop-value is more than {_13th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- else if loop-value is more than {_14th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- else if loop-value is more than {_15th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_1st} to offline player from "%{_1st}%"
- set {_2nd} to offline player from "%{_2nd}%"
- set {_3rd} to offline player from "%{_3rd}%"
- set {_4th} to offline player from "%{_4th}%"
- set {_5th} to offline player from "%{_5th}%"
- set {_6th} to offline player from "%{_6th}%"
- set {_7th} to offline player from "%{_7th}%"
- set {_8th} to offline player from "%{_8th}%"
- set {_9th} to offline player from "%{_9th}%"
- set {_10th} to offline player from "%{_10th}%"
- set {_11th} to offline player from "%{_11th}%"
- set {_12th} to offline player from "%{_12th}%"
- set {_13th} to offline player from "%{_13th}%"
- set {_14th} to offline player from "%{_14th}%"
- set {_15th} to offline player from "%{_15th}%"
- create new gui with id "kills" with virtual chest named " >=TOP KILLS=<" with 4 rows:
- loop integers from 15 to 35:
- make gui slot loop-value with gray glass pane named ""
- set {_p} to "%{_1st}%"
- set {_skull} to skull of "%{_p}%" parsed as offline player
- make gui slot 0 with {_skull} named "&a%{_p}%" with lore "&bKills: &3%{_1st.point}%"
- set {_p} to "%{_2nd}%"
- set {_skull} to skull of "%{_p}%" parsed as offline player
- make gui slot 1 with {_skull} named "&a%{_p}%" with lore "&bKills: &3%{_2nd.point}%"
- set {_p} to "%{_3rd}%"
- set {_skull} to skull of "%{_p}%" parsed as offline player
- make gui slot 2 with {_skull} named "&a%{_p}%" with lore "&bKills: &3%{_3rd.point}%"
- loop integers from 3 to 14:
- set {_num} to loop-value + 1
- set {_p} to "%{_%{_num}%th}%"
- set {_skull} to skull of "%{_p}%" parsed as offline player
- make gui slot loop-value with {_skull} named "&a%{_p}%" with lore "&bKills: &3%{_%{_num}%th.point}%"
- open gui with id "kills" to player
- command /leaderboard:
- trigger:
- set {_1st.point} to 0
- set {_2nd.point} to 0
- set {_3rd.point} to 0
- set {_4th.point} to 0
- set {_5th.point} to 0
- set {_6th.point} to 0
- set {_7th.point} to 0
- set {_8th.point} to 0
- set {_9th.point} to 0
- set {_10th.point} to 0
- loop {kills::*}:
- if loop-value is more than {_1st.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to {_1st}
- set {_2nd.point} to {_1st.point}
- set {_1st} to loop-index
- set {_1st.point} to loop-value
- else if loop-value is more than {_2nd.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to loop-index
- set {_2nd.point} to loop-value
- else if loop-value is more than {_3rd.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to loop-index
- set {_3rd.point} to loop-value
- else if loop-value is more than {_4th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to {_4th}
- set {_5th.point} to {_4th.point}
- set {_4th} to loop-index
- set {_4th.point} to loop-value
- else if loop-value is more than {_5th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to {_5th}
- set {_6th.point} to {_5th.point}
- set {_5th} to loop-index
- set {_5th.point} to loop-value
- else if loop-value is more than {_6th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to {_6th}
- set {_7th.point} to {_6th.point}
- set {_6th} to loop-index
- set {_6th.point} to loop-value
- else if loop-value is more than {_7th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to {_7th}
- set {_8th.point} to {_7th.point}
- set {_7th} to loop-index
- set {_7th.point} to loop-value
- else if loop-value is more than {_8th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to {_8th}
- set {_9th.point} to {_8th.point}
- set {_8th} to loop-index
- set {_8th.point} to loop-value
- else if loop-value is more than {_9th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
- set {_9th} to loop-index
- set {_9th.point} to loop-value
- else if loop-value is more than {_10th.point}:
- set {_15th} to {_14th}
- set {_15th.point} to {_14th.point}
- set {_14th} to {_13th}
- set {_14th.point} to {_13th.point}
- set {_13th} to {_12th}
- set {_13th.point} to {_12th.point}
- set {_12th} to {_11th}
- set {_12th.point} to {_11th.point}
- set {_11th} to {_10th}
- set {_11th.point} to {_10th.point}
- set {_10th} to {_9th}
- set {_10th.point} to {_9th.point}
Add Comment
Please, Sign In to add comment