I can’t figure out why this animation won’t stop, I’ve tried just using :Stop() tried using waits in places and tried stopping it from getting the active animations. None of this has worked and I don’t got a clue on where to go from here
GIF of issue: https://gyazo.com/379c95b0fd4a3b2af031c3ac5d0b695a
Code:
Tool.Equipped:Connect(function()
PistolGUI.Enabled = true
PistolGUI.Frame1.GunName.Text = script.Parent.Name
PistolGUI.Frame1.Ammo.Text = Ammo .. "/" .. MaxAmmo
GlockEvent:FireServer(Equipped, 1)
Equipped = true
Equip:Play()
wait(Equip.Length)
Idle:Play()
end)
Tool.Unequipped:Connect(function()
PistolGUI.Enabled = false
GlockEvent:FireServer(Equipped, 1)
Equipped = false
Idle:Stop()
wait(.1)
UnEquip:Play()
end)