I currently made an animation with the help of the wiki, and I also made a script to play it when you say "/e handspring"

The problem is that it couldn't load it (by the output), so I changed the script into a localscript. Now the output is gone, and the animation still doesn't play.

Any help?

Animation chat script:

game.Players.PlayerAdded:connect(function(plr)
    plr.Chatted:connect(function(msg)
	if msg == "/e handspring" then
	local animation = plr.Character.Humanoid:LoadAnimation(script.Animation)
	animation:Play()
	end
end)
end)