of     1   

swimmaster07
#182516669Wednesday, January 27, 2016 9:11 PM GMT

The equipped part of this script isn't even working. The output says the animation is failing to load. Why? local tool = script.Parent local animation = script.Animation local animation2 = script.Animation2 local player = game.Players.LocalPlayer local animationtrack tool.Equipped:connect(function() local character = player.Character local humanoid = character:WaitForChild("Humanoid") animationtrack = humanoid:LoadAnimation(animation) animationtrack:Play() tool.Activated:connect(function() local character = player.Character local humanoid = character:WaitForChild("Humanoid") animationtrack = humanoid:LoadAnimation(animation2) animationtrack:Play() wait(1) animationtrack:Stop() end) end) tool.Unequipped:connect(function() animationtrack:Stop() end)
fixylol
#182516797Wednesday, January 27, 2016 9:13 PM GMT

that means the animation is invalid (wait didnt i just tell you that) Number of times opinion has changed: A lot.
swimmaster07
#182516849Wednesday, January 27, 2016 9:14 PM GMT

Thx, you already told me that. How can I make it NOT invalid?
fixylol
#182516953Wednesday, January 27, 2016 9:16 PM GMT

uh reupload it i guess i dont really know how animations work Number of times opinion has changed: A lot.
swimmaster07
#182518791Wednesday, January 27, 2016 9:43 PM GMT

I did. It still says failed to load >:(
xNitrospeedx
#182519446Wednesday, January 27, 2016 9:53 PM GMT

Is your animation parented to your script? If it's sibling of your script then, local animation = script.Parent:WaitForChild("Animation")
swimmaster07
#182519707Wednesday, January 27, 2016 9:57 PM GMT

good idea thx, but ITS STILL NOT WORKING!
swimmaster07
#182519741Wednesday, January 27, 2016 9:57 PM GMT

the funny thing is it was working perfectly fine yesterday...

    of     1