Flowing water

I’m new in Unity 3D and making games and I’ve got a little trouble: I want to make a river with flowing water and I don’t know how to do it.

I found some codes on the forum but I didn’t know where to put them: 1

I’ve tried to put the codes of that thread on the end of the object (plane) code but all I’ve got is a fully painted pink plane…

Not to be mean, but try reading… it tells you RIGHT ON THE THREAD, on how to use it.

“Usage: Make a box, stretch it out… Apply a water material to it… drag the script below to it… Water… It even transforms the box into a trigger.”