How would I animate a custom rig setup?

I want to achieve a simple way to add an animation to my custom rig. Ive already made the animation, now I just need a way to add the animation to my rig.

I honestly have no idea how to do so. If someone could link me to a video or model that would be great!

Ive tryed searching online and searching for solutions here on the forums.DevForumsWalker

This is the thing ive been trying to animate. Ive added a head and a torso. The red square is the HumanoidRootPart.

I don’t think you actually tried searching. Maybe you did, but 5 seconds online revealed quite a lot in my case. If video tutorials are your thing, YouTube is your site; and 3 search terms are enough to get the job done.

https://www.youtube.com/results?search_query=roblox+animate+model

1 Like

Yes, but those videos do not show the scripts. I forgot to mention and or explain clearly that I already made the animations for it, I just don’t know how to add the animation to the custom rig.
Hang on, ill add it to the post.

Have a great christmas! :smile: and thank you for helping me!

Here you go, check the Playing Animations Directly part of this link or I would suggest reading the whole thing…

Thank you! I ended up using this code to make it work.

local humanoid = workspace.walker.Humanoid

local kickAnimation = Instance.new(ā€œAnimationā€)

– Set its ā€˜AnimationId’ to the corresponding animation asset ID

kickAnimation.AnimationId = ā€œrbxassetid://4534608227ā€

– Load animation onto the humanoid

local kickAnimationTrack = humanoid:LoadAnimation(kickAnimation)

– Play animation track

kickAnimationTrack:Play()

Have a great christmas! :smiley:

1 Like