I'm attempting to make a gui that displays online friends that is in your game. Not sure how. It is a scrolling frame that adds in a new textbutton for each friend that is ingame. it changes the text to the friend's name. All I have so far is
local OnlineFriends = {}
function GetFriends(player)
return player:GetFriendsOnline(200)
end
function newFriend()
end
the script is inside a scrolling frame. it's meant to get the local player's friends list and for each online friend found it will create a new textbutton with the text being the friend's name.
Thank you in advance.

2 comments
this site is not for people creating scripts for you
make as much as you can, and if you get stuck, only that is when you come here, it even says while making a question that scriptinghelpers is not a request site