Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[SOLVED] GetUserThumbnailAsync appears on ScreenGui, but not SurfaceGui?

Hello, I am trying to get my avatar's profile picture to appear on a part. The script I use works perfectly when used on a ScreenGui, but doesn't work at all one placed on a SurfaceGui, which is what I need to use in order to make it appear on a part. The image appears blank, and I am wondering what I am doing wrong. Thanks in advance!

local ImageLable = script.Parent

local Image = game.Players:GetUserThumbnailAsync(51195902, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)

ImageLable.Image = Image

1 answer

Nevermind, I figured it out. I just had to use "Script" instead of "LocalScript."

This discussion is preserved as it was. New answers, comments, and votes are closed.