Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
If you're unsure of why pokemon were faster than yours because you put a scarf on yours, the most logical assumption would be that the faster pokemon were also scarfed.
Just something to keep in mind to help you in future battles.
I recommend you learn tiers, basic battling dynamics and how not to be a sore loser. So next time you don't bring OU pokemon to a UU battle, end up losing, and then D/Cing.