Does an empty set of pages return isfinished as true? For example if you do
game.Players:GetFriendsAsync(plr.UserId)
and ther player has no friends will it automatically return isfinished? thank you in advance
Pages.IsFinished
is whether or not the current page is the last page.
So yes Pages.IsFInished will be true, and the current page will be empty.
local UsersFriendPages = game.Players:GetFriendsAsync(270486238)
print(UsersFriendPages.isFinished) -- True if the user has 1 friend page, even if they have no friends
print(UsersFriendPages.isFinished and #UsersFriendPages:GetCurrentPage() == 0) -- True if the user has no friends