How do you assign a shirt asset to a player using a humanoid description?

I’m trying to have a player have the selected shirt when they spawn

	local humanoidDescription = Instance.new("HumanoidDescription")
	humanoidDescription.HeadColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.LeftArmColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.LeftLegColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.RightArmColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.RightLegColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.TorsoColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.Shirt = "http://www.roblox.com/asset/?id=5661583851"

	player:LoadCharacterWithHumanoidDescription(humanoidDescription)

The Body coloring works, the Shirt does not. I should mention that I entered the shirt ID into studio so that it could convert the ID over to the template, so the ID in .Shirt is the shirt template.

    local humanoidDescription = Instance.new("HumanoidDescription")
	humanoidDescription.HeadColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.LeftArmColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.LeftLegColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.RightArmColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.RightLegColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.TorsoColor = Color3.new(1, 0.713725, 0.521569)
	humanoidDescription.Shirt = 5661583851 -- this is what you meant right?
1 Like

Yes sir, thank you. Except I needed to use the shirt ID instead of the template as I found out.