Detect what clothing a character is wearing

I have actually no clue how to do this
how do i detect the shirt and pants id their wearing

You can simply get the character and look for the object of ‘Pants’ or ‘Shirt’, like game.Players.LocalPlayer.Character.Shirt.ShirtTemplate which will get the ID of the shirt asset or game.Players.LocalPlayer.Character.Pants.PantsTemplate which will get the pants asset.

2 Likes

Oh my gosh, thank you! This is the solution to all of life’s problems. I will forever be grateful towards you, stranger. :grinning:

1 Like
local player = game.Players.LocalPlayer
local shirtTemplate = player.Shirt.ShirtTemplate
local pantsTemplate = player.Pants.PantsTemplate
local tshirtTemplate = player:FindFirstChild("Shirt Graphic").Graphic

This is for t-shirts as well.

2 Likes