How do I put animations on a custom character

I have a StarterCharacter in StarterPlayer, it works perfectly fine, until I start attempting to add animations. It’s either one or the other apparently, does anyone know the script that allows both?