minecraft functions setting a scoreboard equal to another scoreboard code example
Example: how to do stuff with a scoreboard minecraft
/scoreboard players test * <objective> <min> [max]
/scoreboard players test * <objective> <min> [max]