here is the code
local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=6000089127"
local track
tool.Activated:Connect(function()
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track.Looped = false
track:Play()
end)
tool.Unequipped:Connect(function()
if track then
track:Stop()
end
end)
so when you equip the tool and you click an animation plays and i like it but i want when the animation plays the ParticleEmitter gets enabled. Ive tried to do a lot of things but nothing works can someone help me also did i used the right category