OnParticleCollision

Hello Friends, I need your help.

I want the cube to move forward when particle collides with cube. I searched on google and tried a few methods but unfortunately i am failed and i don’t know where to put the script in. I am sharing the code i wrote i hope you can help me. Thanks in advance.

3478205--276562--bandicam 2018-04-29 17-32-31-614.jpg

3478234--276563--ezgif-4-3cb65c9c8c.gif