Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How does CharacterAppearance work?

I want to know things like would you use it in local scripts or normal scripts or what are the boundaries of it and maybe give me an example script I can try out. Or, you could just send me to a site that explains it well.

1 answer

✓ Accepted answer

CharacterAppearance is deprecated so I do not suggest using it.

However, as an alternative you can use LoadCharacterAppearance.

game.Players.PlayerAdded:connect(function(player)
	local assetId = 0 -- assetId
	local assets = game:GetService("InsertService"):LoadAsset(assetId) -- asset storage
	for i,v in pairs(assets:GetChildren()) do
		player:LoadCharacterAppearance(v) -- load all the assets stored in asset storage onto the character
	end
end)

And this is the wiki for it.

2 comments

0

Do not teach deprecated code. connect is deprecated, it is Connect. Either teach good and non-deprecated code or don't teach at all.

0

Thank you for this very helpful

This discussion is preserved as it was. New answers, comments, and votes are closed.