How to dress the player with clothing specific for the game?

Hello
What is the correct way to change the clothes of a player in the game?
I.e. to remove his/her existing clothing and to put pants and shirts specific for the game.
I want to keep player’s original head and accessories.

Thank you

in Game Settings, click on Avatar Section, and you will find Shirts/Pants ID textboxes, paste your id and this should replace the shirts and pants of players.

1 Like

Thank you
however I will put different clothes, so I need way to do it with a script

There is a shirt inside the character of the player, you can edit the ShirtTemplate to change it:

Player.Character.Shirt.ShirtTemplate = "rbxassetid://0" -- ur id instead of 0

Thanks, but how do I remove the layered clothing, which can hide the shirt?

You can disable the LoadCharacterLayeredClothing on StarterPlayer (set it to Disabled)

this will disable the layered clothing for all players. I would like to use custom clothing on player basis - each player can wear his/her own clothing or use the game’s clothing.