I'm trying to Google a guide on how to play animations, but all I am getting are stupid videos and guides for the animation hack.
All I want to do is make a running animation play in my place when a player runs. I have done this but it's not working. It's frustrating me so badly:
ani = Instance.new("Animation")
ani.AnimationId = "http://www.roblox.com/asset/?id=125749145"
ani.Name = "Run"
animTrack = script.Parent.Humanoid:LoadAnimation(ani)
local isWalking = false
script.Parent.Humanoid.Running:connect(function(speed)
if (speed > 0) then
isWalking = true
animTrack:Play()
else
isWalking = false
animTrack:Stop()
end
end)

1 comment
I think I found the answer. Check mine.