To beat level 25 on Factory Balls 2, follow this sequence. First, paint the ball green. Then put on the hat and paint it yellow. Take off the hat and rotate the ball one time. Put the hat back on and paint it orange, then remove the hat and rotate the ball one more time.
Put the hat on again and paint it orange, repeating that step one more time. Finally, rotate the ball seven times, and you should have it solved.