Lua Script To Replace Default Animations On A Playermodel?

Hey everyone.

I have a set of custom playermodel animations that have been properly compiled and work fine in NutScript in multiplayer. The problem is I am trying to use them in singleplayer sandbox but I am running into some issues.
The animations have been placed in the model’s folder but I have no clue how to override the default Valve animations with the new ones for the playermodels. I figure that this can be accomplished through Lua but my searches
have come up with no tutorials or similar threads. Can anybody show me how this can be done through Lua or some other method?

Does anybody have any idea?