Unable To Cast Value To Object

:LoadAnimation takes in an Animation object, not the AnimationId itself. Lookup the script example given in the API documentation Animator | Roblox Creator Documentation.

Furthermore, Humanoid:LoadAnimation is deprecated, use Humanoid.Animator:LoadAnimation