ImageLabel:Clone() not working?

Basically,i’m trying make a hud than shows the player roblox photo on a image label,but somehow i cant clone the image label template? what is hapening?

Explorer: Screenshot by Lightshot

local idplayerlocal = game.Players.LocalPlayer.UserId
local template = script.Parent.template
	--if v.UserId ~= idplayerlocal then
	local idtemp = v.UserId
	local Players = game:GetService("Players")
	local thumbType = Enum.ThumbnailType.HeadShot
	local thumbSize = Enum.ThumbnailSize.Size60x60
	local content, isReady = game:GetService("Players"):GetUserThumbnailAsync(game:GetService("Players").idtemp, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size60x60)
	local iconejogador = template:Clone()
	iconejogador.Name = "esse"
	iconejogador.Parent = script.Parent
	iconejogador.Image = content
	iconejogador.Size =, 60, 0, 60)

What is that? :thinking: You should just use idtemp.

1 Like