PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

ClearCharacterAppearance

The ClearCharacterAppearance function removes all Hat, Shirt, Pants, CharacterMesh, and BodyColors from the given player’s Player/Character. In addition, it also removes the T-Shirt Decal on the player’s torso. The character’s body part colors and face will remain unchanged. This method does nothing if the player does not have a Character.

##Note
It does not remove ShirtGraphic|t-shirts, head meshes, or Faces.

Returns

Return Type Summary

No return.


Code Samples


Player:ClearCharacterAppearance

game.Players.LocalPlayer.Character.ChildRemoved:connect(function(child)
  print(child.ClassName, 'removed from character')
end)

game.Players.LocalPlayer:ClearCharacterAppearance()
--> BodyColors removed from character
--> ShirtGraphic removed from character
--> Shirt removed from character
--> Pants removed from character
--> CharacterMesh removed from character
--> Hat removed from character
--> Shirt removed from character