Skinned mesh rig won't load animation

I’m trying to play an animation with a script which works for a different rig, however it won’t play.

local animation = script.Parent.AnimationController.Animation
local track = script.Parent.AnimationController.Animator:LoadAnimation(animation)

while wait(2) do
	track:Play()
end

The contents of the viewmodel:
image

The animation working in the editor:
image

No errors are outputted so im not sure what to do.

1 Like