How to make an BodyVelocity move player sideways

im trying to make that parkour thing of move holding on a ledge and i cant make the bodyvelocity works properly to make the player goes sideways

i tried:

vel.Parent = HumanoidRootPart
vel.Velocity = Torso.CFrame.RightVector*15

the character does not rotate while holding the wall so the torso orientation will not change
image

Hey!
BodyVelocity is deprecated, you should use LinearVelocity instead, it works pretty similarly :slight_smile:

Using LinearVelocity you would do pretty much the same thing, but you also need to assign the Attachment0 property so it knows where to apply the force.
Create a new attachment, put it into your torso, and assign it to the velocity.

local attachment = Instance.new("Attachment")
attachment.Parent = Torso
vel.Attachment0 = attachment 
vel.Parent = HumanoidRootPart
vel.Velocity = Torso.CFrame.RightVector*15
1 Like

it worked, thank you

but the vel.Velocity does not work, have to put vel.VectorVelocity

1 Like

after using it, when i jump sometimes i get thrown away by some force but the one used there is delete, what is it? and after using the first time the velocity in the others was very faster

Are you sure you don’t have some other force(s)? Maybe created in other scripts.

yes i have but they are not used the same time and this flying glitch started now