i want to know how, to expand my knowledge

4 comments

0

Base on Roblox's developer guide site.

local player =  game.Players.LocalPlayer
local dict = player:GetFriendsOnline(10)

for i,friend in  pairs(dict)  do
print(friend.UserName)
end

Read for: https://developer.roblox.com/api-reference/function/Player/GetFriendsOnline

0

If you're only gonna post links then post them in comments.

0

okay. my bad. i didnt know that.

0

tahnks Nick