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

I made a script to make the image a user IDs face. It doesn't work, could someone help?

Here's the script, It's supposed to be for a story game.

local userId = 324641759

local success, image = pcall(function()
    return game.Players:GetUserThumbnailAsync(userId, Enum.ThumbnailType.HeadShot, Enum.ThumbnialSize.Size420x420)
end)

if success then
    script.Parent.Image = image
end

1 answer

✓ Accepted answer

You made a typo. Instead of

Enum.ThumbnialSize

you need

Enum.ThumbnailSize

1 comment

0

Thanks for helping!

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