double-click the flag, wait 1 second, click the flag again that was a real pain getting the code to make the sprites stop glitching. managed to get it tho apologies if you experience any lag in the animations
@MatematixAlt