Hey everyone! I want to make something where a player can enter the ID of a shirt they want to try on, and it puts it on their player. I know how to make most of this script, except for the part that gets the template ID from the shirt. Does anyone know how to do this? Thanks!
1 | -- convert to template using a Decal |
2 | local decal = Instance.new "Decal" |
3 | decal.Texture = "https://www.roblox.com/catalog" ..shirtid |
4 | local template = decal.Texture |
Try adding this into a local script:
1 | id = "choose your id" |
2 | game.Players.LocalPlayer.Shirt.ShirtTemplate = "rbxassetid://" ..id |