You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to know how I can get the players friends (randomly) and spawn them as NPC (mostly just the friend part tho)
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried looking for solutions on yt and dev forum and i couldnt find anything.