Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Animations doesn't play, and no any errors?

Asked by 4 years ago

This question has been solved by the original poster.
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?

0
fixed by me, dont need any help now digameschannel 44 — 4y

Answer this question