How would I implement animations for my custom rig?

How would I implement animations for my custom rig?

I want it to have custom animations in the game im making.

If it has rigged bones and you inserted it properly, you should have no problem animating it with the Roblox plugin.

1 Like

if it’s rigged in the right places you should be able to make the animation. On the other hand if you want the animation to play in game then put a script into the rig you are trying to animate, and use this code.

local AnimationId = --The Animation Id from the rig that you are willing to use

local Animation = Instance.new("Animation")

Animation.AnimationId = ("rbxassetid://%d"):format(AnimationId)

local Anim = script.Parent.Humanoid:LoadAnimation(Animation)

Anim.Looped = true

Anim:Play()
2 Likes