I'm trying to loop this 4 frame gif infinitely. Does anyone know what I'm doing wrong?

You can only have “THEN” in looping commands.