CharacterAppearance (Property)

From Legacy Roblox Wiki
Revision as of 06:14, 27 April 2023 by Realjame (talk | contribs) (Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
CharacterAppearance
Property Content characterAppearance
Description URI of the asset containing character's appearance, clothing, and gear.
Member of Player


Description

This property is automatically set by Roblox when player joins.

Example
function onPlayerAdded(player)
player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" --the last numbers of the URI is the ID of the desired character look
end
game.Players.PlayerAdded:connect(onPlayerAdded)