How can I get a list of somebody's friends? I know I will probably need to use HttpService
but I do not know of an api that I can get friends from.
Technically, you can't get a list of users' friends at the moment, but someone might make a new HttpService API so you can. You can use the :IsFriendsWith(userId)
method to see if someone is friends with a user. Example:
game.Players.PlayerAdded:connect(function(player) if player:IsFriendsWith(16099777) then --replace 16099777 with your user ID print(player.Name.." is friends with bobafett3544!") end end)