The tutorial given on the ROBLOX Wiki isn't very helpful; I don't understand what it's trying to say. This is my current script, embedded into a LocalScript under Workspace, cobbled together with knowledge from a starter tutorial and part of the animation page on the wiki.
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=584897633" function start() local animTrack = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(animation) animTrack:Play() end game.Workspace.Part.Touched:connect(start)
I have confirmed the animation itself to be working, as taking the asset ID and loading it into a default player animation while the game is running would appear to play the animation properly, given that the correct action is being taken by the player.