local tool = script.Parent
local anim = script.Parent.Idle
tool.Equipped:Connect(function(track)
    track:Play(anim)
end)
tool.Unequipped:Connect(function(track)
    if track then
        track:Stop(anim)
    end
end)

tried to make idle animation which plays when you equip tool and stops when you unequip tool, but seems like animation wont play. Any problem in script?

1 comment

0

fixed by me, dont need any help now