StarterCharacter animations not working

I’m trying to add custom animations to a custom R6 character but the script isn’t working and when I run the game no animations play. I’m very new to scripting by the way.

This is the code:

And the error that shows up when I run the game.
image

That error is because you connect players → literally Players service instead of player → Player instance
Just change the players.CharacterAppearance… to player.CharacterAppearance…

[Edited] Nvm, my bad about HumanoidDescription as you’re trying to use CustomAnimation instead