NOTE: Is being played from a Script, all instances are already created, creating them doesn't work nor does using Humanoid:LoadAnimation() from a LocalScript/Script.
local walk = PARENT.Animation
local controller = PARENT.AnimationController
local animTrack = controller:LoadAnimation(walk)
if not animTrack.IsPlaying then
print("test") --Will print once, because it hasn't played yet, animation is looping.
animTrack:Play()
end
I've noticed this doesn't work on NPC's is there another way to get them to play animations as I'd love to not have to use CFrame.Angles() with weld to "tween" the parts. Not only is this a problem on my game I've seen it across many others, apparently an issue on RBLX's side, does anyone know a way around it?
EDIT:
local walk = HUM:LoadAnimation(game.ReplicatedStorage.Animations.Walk)
if not walk.IsPlaying then
walk:Play()
end
--Animation Hierarchy: game.ReplicatedStorage -> Animations - Folder -> Animation - "Walk"

1 comment
Yea, roblox broke animating NPC's via animation controller I think. I've been looking for a way around this too.