Recently, I was scripting a game which uses animations, and I came upon an issue. This is inside of a tool, and this is the part that doesn't work.
local animation = tool:WaitForChild("Animation") local hum = game.Players.LocalPlayer.Character.Humanoid local track = hum:LoadAnimation(animation) track:Play()
Eventually I discovered the Animation ID I was using was broken, because it didn't work, and whenever I tried to insert the ID into a animation myself it crashed. And I compared it to a gear animation as well. So I went back to Animation Editor to make a new one, and for some reason, I can't even use animation editor. It keeps giving me this error. "18:00:42.264 - Animation "53c8ef4b4c1650a0b8d28562614620ea" failed to load in "Workspace.Dummy.AnimSaves.TestAnim.AnimationId": Animation failed to load" No matter what I do it always does this. It just broke, out of nowhere, it wasn't like this before.
I think this may not be anything to do with code check if its the right id, or on the other hand may be an issue with roblox I encountered this with many animations try remaking it. Sorry for the bad news :(