Hey guys, i'm working on a minigame called "gungame"
Now I have a scoareboard but i have only one problem.
How can i make it update automaticly so when for example a player kills someone it updates automaticly to 1 in the scoreboard.
So it refresh it automaticly every second.
I have this as my code:
Now I have a scoareboard but i have only one problem.
How can i make it update automaticly so when for example a player kills someone it updates automaticly to 1 in the scoreboard.
So it refresh it automaticly every second.
I have this as my code:
code_language.skript:
command /ggscore:
trigger:
display board named "&b&lGun&f&lGame" to player
make score "&6 " in board of player 15
make score "&aLevel &8»" in board of player 14
make score "&7%{gungame:level:%player%}%" in board of player 13
make score "&0 " in board of player 12
make score "&bKills &8»" in board of player 11
make score "&7%{gungame:kills:%player%}%" in board of player 10
make score "&2 " in board of player 9
make score "&cStreak &8»" in board of player 8
make score "&7%{gungame:killstreak:%player%}%" in board of player 7
make score "&6 " in board of player 6
make score "&eDeaths &8»" in board of player 5
make score "&7%{gungame:deaths:%player%}%" in board of player 4
make score "&3 " in board of player 3
make score "&9Coins &8»" in board of player to 2
make score "&7%{gungame:coins:%player%}%" in board of player 1
move display of player to sidebar