Animation won't play

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

track:AdjustSpeed(.7)
track:Play()

print(track.IsPlaying)

AnimationID: rbxassetid://7389751079

track.IsPlaying is true
(⊙_⊙)?

1 Like

What’s the animation priority?

Movement, that’s probably my mistake.

EDIT; Turns out not the mistake, adding

track.Priority = Enum.AnimationPriority.Action

didn’t fix it

Animation designed for R6 or R15 and what type is the character you are trying to play the animation on

Animation is R6, character is R6

are u testing it on team test ?

Just the normal Roblox Client.

Could you give a screenshot of the hierarchy? It would help.

image

Apparently using the animationcontroller is deprecated AnimationController | Roblox Creator Documentation and we’re supposed to use Animator | Roblox Creator Documentation instead…

1 Like

Literally randomly just broke again.

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

track.Priority = Enum.AnimationPriority.Action
track:Play()
print(track.IsPlaying)

AnimationID is rbxassetid://7389751079

Try using the animator that’s inside the humanoid?

track is the animator

animator docs:


https://developer.roblox.com/en-us/api-reference/class/Animator

I found the animator in my character’s humanoid when I spawned in by default so I’m assuming you can directly reference it
image