What /testfor command do I need to check the value of a scoreboard

//ads -- adsterra.com -- native banner
?>
I've created a dummy objective, 'time' and have a 1 second repeater clock adding 1 to the score for @a
every second. I then have a command block that will execute a /testfor
to check when the score '600' is met and a comparator will light up a redstone lamp to say when 10mins has passed. What command would the /testfor
command block need?
Best Answer
This command should be what you want:
/testfor @a[score_time_min=600]
This will only give a weak output, so make sure to have a repeater after the comparator.
Pictures about "What /testfor command do I need to check the value of a scoreboard"



How do you check your scoreboard score in Minecraft?
You can manage objectives, players and teams using the /scoreboard command in Minecraft.How to detect a Scoreboard score [TUTORIAL] | Minecraft Bedrock Edition
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Andrea Piacquadio, Alexander Suhorucov, Brett Sayles