Studio Bug or error w/ my code?: Cannot load the AnimationClipProvider Service

Im making a an animation for a simulator im making but it does not seem to work at all. Ive asked in Hidden Developers and one person is saying it is a bug going around roblox.

Code:

local animationTrack = chr:WaitForChild("Humanoid"):LoadAnimation(chr:WaitForChild("Animations"):WaitForChild("Lift"))
task.wait(2) 
animationTrack:Play()

Error: Cannot load the AnimationClipProvider Service.

happens when animator isnt under workspace/worldmodel

and animation should be in local script