How would I go about modifying the number of animation loops in a sims 4 mod?

@Axolotl1@gaygeek.social

How would I go about modifying the number of animation loops in a sims 4 mod?