Player Headshots w/ Teams

Hey developers! I’m trying to make a system where the avatar headshots of people on a certain team will show up… like this.

Screen Shot 2022-08-02 at 9.41.02 PM

I plan on having individual parts to showcase each team member, but I don’t know how to set up the headshot and how to have it update once someone is put on the team.

So… let’s say I wanted everyone in a “Houseguest” team to have their headshot show up, how would I do that? (max would be 16)

https://developer.roblox.com/en-us/api-reference/function/Players/GetUserThumbnailAsync

This Could help you out

Get each player on the team, and make a random part their user thumbnail.

How would I make it go on a part instead of a screen gui?

in that case you can use surfaceguis instead.

Tried doing that, but I’m not sure what I’m doing wrong.