I need help with headshot images

So, yesterday I made an NPC which you can talk to, it gives you quests and it made a system which if you click on the yes button it makes you say it with an imagelabel with a picture of your avatar in it.

I made it 420 pixels, but when I try it on another device its still 420 pixels which I find really annoying. Is there any way to make it in scale? This is the script:

local Players = game:GetService("Players")

local player = Players.LocalPlayer

local userId = player.UserId
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size180x180
local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)


local imageLabel = script.Parent
imageLabel.Image = content
imageLabel.Size = UDim2.new(0, 180, 0, 180)

Please help me, I really want to fix this issue.

You dont have to make the image size be the size of the thum size. Its the quality. So just make the image size how u want. Ez

Ohh. Alright, I didn’t know that. Thanks for the help.

It doesn’t do anything. It just makes the image the placeholder image that Roblox uses.