For one thing, Humanoid:LoadAnimation has been deprecated, use Animator | Roblox Creator Documentation.
Secondly, your local animation is referring to the animation instance, not it’s animation id, instead it should be
local animation = script:WaitForChild("Animation").AnimationId
The same link provides an example script on playing animations locally, I suggest you refer to that.