Code:
on join:
while player is online:
set title of player's scoreboard to "&f&l[&4&lBoxStealerr&f&l]"
set line 11 of player's scoreboard to "&7&m-----------------------"
set line 10 of player's scoreboard to "&4&lPLAYER &7&l>> %player%"
set line 9 of player's scoreboard to "&4&lRank &7&l>> %player's prefix%"
set line 8 of player's scoreboard to "&4&lKills &7&l>> %{kills::%player's uuid%} ? 0%"
set line 7 of player's scoreboard to "&7&m-----------------------"
set line 6 of player's scoreboard to "&4&lOnline Players &7&l>> %size of all players%/10"
set line 5 of player's scoreboard to "&4&lJoins &7&l>> %size of offline players%"
set line 4 of player's scoreboard to "&a"
set line 2 of player's scoreboard to "&a"
set line 1 of player's scoreboard to "&7&lBoxStealerr.minehut.gg"
wait 1 tick
on death of player:
if attacker is a player:
add 1 to {kills::%attacker's uuid%}
every 1 hour:
loop all players:
set {timer} to 3600
if {timer} is greater than 0:
remove 1 from {timer}
if {timer} is lower than 0:
execute console command "crates key giveall keyall 1"
set line 3 of loop-player's scoreboard to "&4&lKeyall &7&l>> %{timer}%"