How do I use a score in a different command in Minecraft
//ads -- adsterra.com -- native banner
?>
I am making a game where a player has a score that goes up every second by a different stat. That stat is their score on a specific scoreboard. How do I do this?
For Example, If their score for the stat is 26, every second a their other score goes up by 26
Thanks
P.S. Also, can I make that score be the name for an armor stand?
Pictures about "How do I use a score in a different command in Minecraft"



Quick Answer about "How do I use a score in a different command in Minecraft"
How do you use if score?
The syntax for the scoreboard would be "/scoreboard objectives add Money dummy" without parenthesis. To place this scoreboard to the sidebar, Minecraft players can then use the command "/scoreboard objectives setdisplay sidebar Money" which should display the scoreboard to the right of the screen./execute if score // Minecraft 1.19 Command Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Anete Lusina, Ksenia Chernaya, Ksenia Chernaya, Laker
