XLQP Gen1
ElementsAdvanced integrations

AddFriends

Adds a friends interface backed by the local player context.

AddFriends

What it does

Adds a friends interface backed by the local player context.

When to use it

Use it when a page needs to display or work with the user’s Roblox friends.

ElementFunction:AddFriends(FriendsConfig)

RightGroup:AddFriends({
    Name = "Server Friends"
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.