How to set scoreboard of the player to 'N' if the current score is 'n'? (Minecraft)

Solution 1:

I figured out you can use this command: execute if score @p levelcopmlete matches ..0 run scoreboard players set @p levelcopmlete 1