local Body = Instance.new("BodyVelocity",character.Torso)
Body.Velocity = Vector3.new(0,25,0)
This will be hard to explain but but I want to use body velocity only in the Y direction. Something like the code above but it just ignores the z and x directions. When using (0,25,0) it does not allow you to move while going up.

5 comments
To reexplain I want my character to move up for a certain amount of time while still being able to move freely in the z and z directions.
Set the first and third parameters for
MaxForceto0.MaxForce = Vector3.new(0, 25, 0)I am still really struggling with this, so I would have to set the MaxForce to 0 for the x and z? Will this allow me to still move while going up and how would I set them.
My new code might work?
very sorry that it did not work at first D: