ShirtTemplate Id won't change

Hello! I am trying to make a system where if you enter a shirt id that it’ll show up on a dummy, but after entering the shirt Id, it does not appear on the dummy, even though it says http://www.roblox.com/asset/?id=9257396423 in the id spot. Anyone who can help? Thanks!

if not dummy:FindFirstChild("ShirtId") then
		newValue = Instance.new("IntValue", dummy)
		newValue.Value = 0
		newValue.Name = "ShirtId"
	else
		print("ShirtId found in dummy, replacing value...")
	end

	newValue.Value = shirtId
	game.Workspace:FindFirstChild(number).Dummy.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id="..shirtId```

You need to use the shirt’s template ID, not its catalog ID.

1 Like

As Forummer said above,
you need to get the shirt’s template. What you can do is copy and paste that ID into a shirt, you’ll get a new id - which is the shirt’s template ID, and then use this new ID to apply it on the dummy.

I’ve done that but it doesn’t change.
image

I can’t, I want the player to input a shirt into the textbox, then after clicking the button it changes the shirt.

How do I or the players get that?

I’ve figured out everything, thanks for your help guys! @Valkyrop @Forummer