I can't get an actor move smoothly like I want it to do

Well, it’s gonna move the cube to a Y position between 1 and 5. If you do that in the BP, is that correct?