Hello, I am working on a small project for a game. This is a little board that sets infront of a player at a desk, that shows their rank, and what department they are apart of. The Question I need answered, is I want a picture of the Picture of a Roblox Character to show on a part. I want to make it so I have to manually input it from a script side, but I dont know how.
How can I make a roblox character headshot appear on a part using a players UserID?
This is a local script, put in StarterGui, aimed at a decal in/on a block named pic.
local Player = game:GetService("Players").LocalPlayer
local userid = Player.UserId
local image = game.Players:GetUserThumbnailAsync(userid,Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size150x150)
workspace.Pic.Decal.Texture = image