local l=Players:GetFriendsAsync(userId)local s={}for l,L in iterPageItems(l)do table.insert(s,l.Id)end local L={}for l,s in iterPageItems(l)do table.insert(L,l.Username)end local Q=math.random(#s)local H=s[Q]local t=game.Players:GetHumanoidDescriptionFromUserId(H)local h=script.Parent h.Humanoid:ApplyDescription(t)

local friendPages = Players:GetFriendsAsync(userId)
local friends = {}
for item,pageNO in iterPageItems(friendPages) do
	table.insert(friends,item.Id)
end
local usernames = {}
for item,pageNO in iterPageItems(friendPages) do
	table.insert(usernames,item.Username)
end
local random = math.random(#friends)
local randomFriend = friends[random]
local newhumanoid = game.Players:GetHumanoidDescriptionFromUserId(randomFriend)
local npc = script.Parent
npc.Humanoid:ApplyDescription(newhumanoid)
