Animation Interpolation

At the moment I’m crawling my way towards making a script which enables Firearms:Source’s player models’ compatibility with gmod.

The problem I’ve run into is that there isn’t an integrated function to blend two animations.

Basically, I need a script that will find the position of the player’s bones on a frame-by-frame basis, and then interpolate them real-time to the positions of the bones in a specified animation.

If this were to be made, it would be fantastic if the amount of interpolation could be affected by a 0 to 1 clamp.

Thanks!