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.
Closed as off-topic by fanofpixels, User#20388, Vulkarin, and User#21908
This question has been closed by our community as being off-topic from ROBLOX Lua Scripting.
Why was this question closed?