Help: How can I fix this: unable to assign property Image. Content expected, got table

local faces = {
	["SuperSuperHappyFace"] = {
		FaceID = "rbxassetid://494290547",
	},
}


for i,v in pairs(faces) do
	local template = script.Template:Clone()
	template.Parent = script.Parent
	template.Image = v
	template.Name = i
end
1 Like

You are assigning the whole { FaceID = "rbxassetid://494290547" } instead of just the FaceId
Change this line template.Image = v into template.Image = v.FaceID

1 Like

Thanks. U live saver nice it’s working

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.