How do i make a custom "view avatar" button?

Hello developers!

I am currently working on a custom leaderboard ui and i would like to impliment the “view avatar” button that default roblox leaderboard have. But im not sure on how to do so. I would like the player to press a button and view the players avatar items.

The image below is what happens when you press the button

1 Like

You can use GetAccessories and then display the accessory image that correlates with each accessory

And you can check if the player that is viewing the other person’s inventory and check if they own the item. If they do, add the green UX

1 Like