![](http://smnfrd.it/wp-content/uploads/2016/04/b2a81be23c2be290a7d4ff5d8dc94278.png)
/scoreboard objectives add time dummy
Adds a score called "dummy": this score will be used to change the highscore
![](http://smnfrd.it/wp-content/uploads/2016/04/b2a81be23c2be290a7d4ff5d8dc94278.png)
/scoreboard objectives add highscore dummy
Adds a score called "highscore": this one will be changed with the scoreboard command
![](http://smnfrd.it/wp-content/uploads/2016/04/b2a81be23c2be290a7d4ff5d8dc94278.png)
/scoreboard players operation @a highscore > @a time
This command changes "highscore"'s value in "time"'s value, but only if "time"'s value is higher than "highscore"'s value: if you want the score to change when "time"'s value is lower, just replace the ">" with "<"
![](http://smnfrd.it/wp-content/uploads/2016/04/repeating_u-1.png)
/scoreboard players add @a time 1
This command adds 1 to the score
![](http://smnfrd.it/wp-content/uploads/2016/04/b2a81be23c2be290a7d4ff5d8dc94278.png)
/scoreboard players set @a time 0
This score is used to reset the score. If you want to reset the hgscore, just replace "time" with "highscore"
Recent Comments