- Did you insert a handle?
- Make sure the animation is in the handle.
- If it is a hopperbin that is deprecated.
Instead of the piece of code you put use this:
`local character = game.Players.Local.Character
local humanoid = character.Humanoid
local handle = script.Parent.Handle
if humanoid then
print('Found')
else
error('Error 404, the variable humanoid is not found.')
local anim = handle:WaitForChild("Animation") --Note: Make sure it's still named animation, if not it will break.
local track = humanoid:LoadAnimation(anim)
--Add the other piece of code below the comment.
track:Play()`
I haven't actually tested it, and plus i'm new to roblox development I only started a few months ago.