I currently have this script:
--animations
humanoid = script.Parent.Humanoid
animsFolder = script.Parent.AnimSaves
local runAnim = animsFolder.RunAnimation
runAnim.AnimationId = "rbxassetid://14400744729"
local runTrack = humanoid.Animator:LoadAnimation(runAnim)
runTrack.Looped = true
runTrack:Play()
print("animation should be playing by now")
- The animation is not playing.
- There are no errors, and the print statement plays.
- The animation works properly as a keyframe sequence in the animation editor.
- I have also tried
humanoid:LoadAnimation(runAnim), which also has the same problem. - The animation priority has also been changed several times, and it still hasn’t played.
Why is my animation not playing?