Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Get a texture from clothing ID?

I'm making a clothing stand that users can rent out. I cannot find a way to load the shirt's texture from a script. Any way around this?

1 answer

This is what I had to do

	local shrt = game:GetService("InsertService"):LoadAsset(data.ShirtId)
	local shrtid = shrt.Shirt.ShirtTemplate
	shrt:Remove()
	local pnts = game:GetService("InsertService"):LoadAsset(data.PantsId)
	local pntsid = pnts.Pants.PantsTemplate
	pnts:Remove()

This discussion is preserved as it was. New answers, comments, and votes are closed.