What he said, but if you're new to special effects, I wanna remind you that the bleeding animations don't usually loop. There's probably an appropriate way to make that the case, but from what I know, I'd focus on 2 things:
- Make sure that you delete the animations right after playing them. Otherwise, they will leak memory, even if they aren't visible anymore.
- To create a fake loop of sorts, you can make the bleed effect periodical, using a unit group of bleeding units. Then you loop through this group periodically, check if they have been healed above 25% hp or not, remove them from the group if they have, and play the bleed animation on them if they haven't.