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

CharacterAppearanceLoaded is not a valid member of model?

I'm trying to make my script move on after the character appearance has loaded (hats, clothes) but this comes up in the output:

CharacterAppearanceLoaded is not a valid member of model

and here's a part of my script:

game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(character)
		character.CharacterAppearanceLoaded:connect(function(characterLoaded)
		
			repeat wait() until characterLoaded

1 answer

✓ Accepted answer

CharacterAppearanceLoaded is an event of the Player object. This event returns the character model of the player. You would have to do something like this:

game.Players.PlayerAdded:connect(function(player)
    player.CharacterAppearanceLoaded:connect (function(character)
        -- TODO: Do something to character
    end)
end)

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