Potentially, but only if you’re required to step in because the borrower missed payments or cannot pay.
If you take over the payment and you’re able to pay back the loan on time and in full, your credit score should stay the same or maybe improve.
However, if you start missing payments or can’t pay back the loan at the terms agreed to, then your credit score will be negatively affected.