The image above shows some sort of Roblox CoreGui in which you can browse through different players such as viewing their avatar, sending a friend request, etc. I’ve heard it was a Roblox API feature but they didn’t mention what it was. Can someone tell me what it is and how to enable/implement it?
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCore("AvatarContextMenuEnabled", true)
To open it progamatically:
local StarterGui = game:GetService("StarterGui")
local player = game.Players.LocalPlayer -- You can replace it with any other player in the server
StarterGui:SetCore("AvatarContextMenuTarget", player)