Animations freezes up after amount of time played

Idk when my player freezes or if this is even a scripting problem.

but lately, I’ve been having a bug where after a few minutes the player model animations just freeze up and all animations stop working. This could happen whenever I play the game, for example I just leave my character afk standing still for 40 min and the animation works, but after playing for a bit it will freeze or just move around for like 5 minutes and my character freezes.