If you’re submitting a MP replay, the submitters performance in the replay will be all that’s considered, if your replay is found elsewhere (not directly submitted) both players performances will be taken into account.
If it’s a collab, it’s a little more complex. And that will be taken into account when judging occurs. But don’t worry about it right now