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
13 days ago
Edited 12 days 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)


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