First working script - need to adjust velocity and make the rendering while in viewport