I've looked and can't figure out how to do it, I'm trying to make a Karma system for my map and I want to use the fake players trick. I'm trying to make a good and bad karma system where the player presses a button to get 1 good karma point or presses the other button to get a bad karma point so that if the player looks at the scoreboard on the side it will show their good and bad karma points I already have the scoreboard setup which I named Karma just need to know how to do the other parts.
This is possible: a fake-player or a variable ist with this makeable:
/scoreboard objectives add KARMA dummy
/scoreboard objectives setdisplay sidebar KARMA
(the score "KARMA" will be show, if one a button is pushed)
/scoreboard players add good_karma KARMA 1
/scoreboard players add bad_karma KARMA 1
The points will be add not set.
Same thing as dude above. I just change one thing: I make a scoreboard objective and I give all of my fake players 1, so I can use them in commands by clicking their name, like normal player selectors. It isn’t necessary, but I like to use it if I want the same artificial player to store multiple values from different scoreboards. Hope this can be useful for you in the future.