# This file is automatically generated. Please don't edit it manually. # To submit a bug report on the content, see # https://devforum.roblox.com/c/bug-reports/documentation-issues/72 name: Shirt type: class memory_category: Instances summary: | Displays a shirt texture on a `Class.Humanoid` rig. description: | The `Shirt` object displays a shirt texture from Roblox on a `Class.Humanoid` rig. Shirts cover the torso and arms, and will take priority over a `Class.Pants` on the torso. To be visible, a `Shirt` must be a sibling of a `Class.Humanoid` and have its `Class.Shirt.ShirtTemplate|ShirtTemplate` property set to an appropriate texture such as `rbxassetid://86896487`. The shirt texture may be colorized using the `Class.Clothing.Color3` property. Shirts are automatically loaded on `Class.Player` characters if their avatar is wearing one. code_samples: - Shirt-Pants inherits: - Clothing descendants: [] tags: [] deprecation_message: '' properties: - name: Shirt.ShirtTemplate summary: | Determines the texture of the `Class.Shirt`. description: | The content ID link pointing to the shirt template hosted on Roblox. This content ID is different than the website URL of the shirt. It can be found by pasting the website URL of the shirt into the **ShirtTemplate** property in Studio. Alternatively, `Class.InsertService:LoadAsset()` can be used to insert the shirt into the workspace, for example: ``` local InsertService = game:GetService("InsertService") local Workspace = game:GetService("Workspace") local webURL = "https://www.roblox.com/catalog/1804747/White-Shirt" local assetId = tonumber(string.match(webURL, "%d+") or 0) -- Extract the number local success, model = pcall(function() return InsertService:LoadAsset(assetId) end) if success then model.Parent = Workspace end ``` See also `Class.ShirtGraphic.Graphic` for the image applied to T-shirts. code_samples: - Shirt-Pants type: ContentId tags: [] deprecation_message: '' security: read: None write: None thread_safety: ReadSafe category: Appearance serialization: can_load: true can_save: true capabilities: - Avatar methods: [] events: [] callbacks: []