Moving an entity

> local selfpos =  math.sin(CurTime() * 3) * 5
> self:SetPos(self:GetPos() + Vector(0,0,selfpos))

according to this code, it will smoothly move up and down, how to make it move, say, to the point Vector(0,0,0), well, or any other Vector I need?