Finding a replacement for the scoreboard player test

I was trying to use the command /scoreboard players test @p Objective 1 in 1.14.2, but it seems like 1.14 has changed every command in Minecraft. I need help finding a replacement for this command.

I want to explain why this question is unique. For the first, the example of a possible duplicate of my question is not the same because I asked about scoreboard commands and not to check blocks, and I want to quote this comment:

MBraedley: Same answer does not make for the same question, so I would not close this question as dupe (at least to the proposed target).

Even though I don't think its the exact same answer, because the only same thing about the answer was /execute if and the continued answer was score player objective matches 1, and my point with this answer was that you can't use /scoreboard players test objective 1\ anymore, and if you want to test a score, you have to use the answer I provided, or at least if you want an exact replacement for the command I mentioned in my question.

Since Minecraft 1.13 & 1.14 they have reworked many or maybe nearly all the commands in Minecraft, and for me, and for a lot of people, this has been very confusing, and I have had to learn much of the commands over again, or adjusting my commands.


Solution 1:

I figured it out. Instead of using /scoreboard you use /execute if, so if works like test used to. Here is my full command:

/execute if score MaxVulpes CoordinatesBook matches 1

/execute if score (Player) (Objective) matches 1