Animation cancelling a specific limb

No not quite. I want to have a function that disconnects a given limb from an animation. Ideally not even a function just a regular command

I have made one, but it freezes the client based on the amount of keyframes

The loop is cancelled on player death. Would you like the entire script?