So basically I knew that you can use PreloadAsset to preload an asset.
But how do you preload a profile icon gotten by GetUserThumbnailAsync() ?
Thanks in advance.
So basically I knew that you can use PreloadAsset to preload an asset.
But how do you preload a profile icon gotten by GetUserThumbnailAsync() ?
Thanks in advance.
i am not sure if i understand what you want i hope this is it
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local userId = player.UserId
local Head = Enum.ThumbnailType.HeadShot
local Size = Enum.ThumbnailSize.Size420x420
local Image, isReady = Players:GetUserThumbnailAsync(userId, Head, Size)
local imageLabel = script.Parent
imageLabel.Image = Image
imageLabel.Size = UDim2.new(0, 420, 0, 420)
This discussion is preserved as it was. New answers, comments, and votes are closed.