What's The Best Way To Animate Custom Player Characters?

Just a quick question, I’m not sure how much this needs explaining.

I’ve made a custom character rig, placed it under StarterPlayer to make it a StarterCharacter, and I can move my custom character around. I realized the animations were missing, but I don’t know how to go about putting, run, jump, fall, idle, etc. animations into it properly. I’ve already got the animations animated, I would just like to know the best way to put them in my StarterCharacter.

Thanks.

I want to know the best way too!
You could analize the default Animate script inside Character, in order to see what methods they used too.

I created many custom rigs before, but I dont know the best approach to use its animations… I did it by reading the HumanoidState Type, I tried it by reading inputs too, or even I created a custom rig simulating the R16 in order that all normal roblox animations could work on a custom rig.

I wanna know the best approach too :3

Create a script that is placed inside StarterCharacterScripts. You can change their animations by accessing the values when the player first joins. Here is a simple script to change it:

local animations = script.Parent:WaitForChild("Animate")

animations.blank1.Value = "rbxassetid://blank2" -- Replace blank1 with whatever animation you want to change. (i.e. walk, swim, run etc.)

--Replace blank2 with your animation's ID. This can be found by going to the URL the animation is in and copying the ID.

You can just copy and paste the “animations.blank1.value” thing multiple times to change multiple animations at once.

Hopefully this solves your problem.