Still have questions? Join our Discord server and get real time help.
0

# Idle animation for punching tool does not stop when you die and unequipped it? (STILL NOT ANSWERED)

Rdumb1 -15
2 months ago
Edited 2 months ago

Can someone tell me why my idle animation just doesn't stop when I die and unequipped it? I even put this at the end of the local script for the animations.

problem: doesn't stop the idle animation when I die then unequip it. the idle animation is looped and the priority is idle.

code:

tool.Unequipped:connect(function()
local hum = char:WaitForChild("Humanoid")
for _,anim in pairs(hum:GetPlayingAnimationTracks()) do
anim:Stop()
end
end)


can someone please fix this?

1
omg pls use Connect damnit LoganboyInCO 135 — 2mo
1
omg pls use Connect damnit LoganboyInCO 135 — 2mo
1
Where are you loading the idle animation? SerpentineKing 2724 — 2mo
0
I put the animations inside the local script. Rdumb1 -15 — 2mo
View all comments (14 more)
0
not seeing what char is maybe because you have not defined it? aandmprogameing 38 — 2mo
0
Ok so _,anim is not a good, please use a variable like k,anim aandmprogameing 38 — 2mo
0
I didn't show the whole script since its pretty hard tryna code block. Rdumb1 -15 — 2mo
0
But I defined what char is at the beginning of the local script. local char = plr.Character or plr.CharacterAdded:wait() Rdumb1 -15 — 2mo
0
so any solutions? Rdumb1 -15 — 2mo
0
um.. I still got the problem Rdumb1 -15 — 2mo
0
I would just do a script like this: aandmprogameing 38 — 2mo
0
tool.Unequipped:Connect(function() aandmprogameing 38 — 2mo
0
anim:Stop() aandmprogameing 38 — 2mo
0
end) aandmprogameing 38 — 2mo
0
could you describe it to me on answer? Rdumb1 -15 — 2mo
0
well that wouldn't stop the idle animation. Rdumb1 -15 — 2mo
0
hey um... I still need some help. Rdumb1 -15 — 2mo
0
hello??? Rdumb1 -15 — 2mo