How would I make scoreboard detection multiplayer friendly?

The detection I am currently using, as displayed in the provided picture, doesn't work with multiplayer. Is there a mention that does, or do I have to take a completely different approach?

Continue to help post