Hey guys i want to show the player with more kills example "Uzumaki Won With 6 Kills"
My Fails
My Fails
code_language.skript:
sub "winner":
set {_1st.point} to 0
loop {Won::gamekills::*}:
set {_1st} to loop-index
set {_1st.point} to loop-value
wait 2 seconds
broadcast "&7➤ &e●&l&o &c%{_1st}% &7&lwon with &c&l%{_1st.point}% &cKills &e●&l&o"
loop all players:
send loop-player title "&e✦ &c%{_1st}% &7Won &e✦" for 2 seconds
on death of player:
add 1 to {Won::gamekills::%attacker%}