Making my platform go up and down like a boat in the water

#pragma strict

private var point : Transform;
var max : Transform;
var min : Transform;

function Start()
{
	point = GameObject.FindWithTag("Point").transform;
	max = GameObject.Find("max").transform;
	min = GameObject.Find("min").transform;
}
function Update()
{
	Bounce();
}
function Bounce()
{
	
	
	if (transform.position.y > max.position.y)
	{
		transform.position.y = Mathf.Lerp(transform.position.y, min.position.y, Time.deltaTime);
	}	
	if (transform.position.y < min.position.y)
	{
		transform.position.y = Mathf.Lerp(transform.position.y, max.position.y, Time.deltaTime);
	}	
}

http://unity3d.com/learn/tutorials/modules/beginner/physics/addforce
Maybe?