Hello, everyone!
I have just tried making an animation script for a tool. The sound plays, but the animation doesn't. Can someone please help? Thanks! :) PS. It is a local script, and the animation is made by Jazzyx3 (not on team create)
script.Parent.Equipped:connect(function(m)
m.Button1Down:connect(function()
local ani = Instance.new("Animation")
ani.AnimationId = "http://www.roblox.com/Asset?ID=334721663"
local anitrack = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(ani)
anitrack:Play()
wait(.05)
script.Parent.Handle.Sound:Play()
end)
end)
--

8 comments
http://wiki.roblox.com/index.php?title=API:Class/AnimationTrack/AdjustWeight Your animation's weight is lower than the current animations running on the character. Probably
is the animation made by you? is the game on team create?
is it a localscript?
did you set priority to action or movement?
It's a local script, and the animation is made by Jazzyx3 (not on team create)
you can't use other people's animations, you have to make your own
roblox doesn't allow it
Oh, I didn't know.