What is "LoadAnimation requires an Animation object" and why won't my animation load?
I have no Idea why this isn't working. I am using an animation for a monster in my game. Also, this is a script and not a local script in case that has anything to do with it.
01 | local Animation = script.Parent.AnimSaves.Run |
02 | local rig = script.Parent |
03 | rig:WaitForChild( "Humanoid" ) |
04 | local humanoid = rig.Humanoid |
06 | print (Animation.ClassName) |
08 | local AnimTrack = humanoid:LoadAnimation(Animation) |
Here is my output:
KeyframeSequence - Server - Script:6
11:06:43.129 Humanoid - Server - Script:7
11:06:43.129 LoadAnimation requires an Animation object - Server - Script:8
11:06:43.129 Stack Begin - Studio
11:06:43.129 Script 'Workspace.Monster.Script', Line 8 - Studio - Script:8
11:06:43.130 Stack End - Studio