Slash rope

In this game you will challenge yourself and your brain.
The balls are held on the ropes.

Make sure a сolored balls will fall into the pipe of the same color.
Can you cut the ropes in the right order and make it happen?

It should be simple: gravity pulls the balls down towards the pipe. But then the ropes are in the way! Can you help out and slash away the ropes and get the balls to where they are supposed to fall?

But wait: Sometimes some of the balls are black. Make sure the black balls won't hit the pipe.