Custom animations for r15 and r6

i want my game to have custom animations, but it has support for r15 and r6, i have no idea how to make that work, how can i make that?

Animate R6 and R15 independently and use Humanoid.RigType to play the different animations. No you can’t use one animation for both.