Lean out of vehicle on weapon equipped

Hi,
I want to make it so that whenever your in a vehicle and you equip a weapon then your character leans out of the vehicle so that they can shoot, and whenever the weapon is unequipped character goes back to it’s position and same happens when they leave the vehicle.
I don’t really know how to start, what I have in mind is changing humanoids root part position and rotation on weapon equipped and change it back when it’s unequipped or the player leaves the vehicle.

2 Likes

I want to make this as well. I think i’d use an animation combined with CFrame tweening of the seatpart welds.

So the seatweld has a weld C0, u make a tween where the C0 positions the character torso to a certain position.