I am a noob, and I'm following a video online. I made an animation of a bird with a Humanoid in it, and I don't know how to make it run. Its also set on loop. Here is a script I found:
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=580342958" -- Local variables local animTrack = nil local canPlay = true
function playShockAnim(Source) if canPlay then local player = script.Parent.Parent canPlay = false animTrack = player.Humanoid:LoadAnimation(animation) -- Load animation into Humanoid canPlay = true animTrack:Play() -- Start the animation end end
playShockAnim(script.Parent.Parent)
Please help.

2 comments
Not a request site!
I know, that's why I sent the script.