Velocity set to -60 is going upwards

So I made a script for a wall slide thing

and I added this line to it

		WJV = Instance.new("BodyVelocity", c.Torso)
		WJV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
		WJV = Vector3.new(0, -60, 0)

Even though I put “-60” the player still goes upwards

You assigned the variable WJV as Vector3.new(0,-60,0), not the Velocity of the WJV.

Fixed script:

		WJV = Instance.new("BodyVelocity", c.Torso)
		WJV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
		WJV.Velocity = Vector3.new(0, -60, 0)