Leaning out of car window, when tool equipped

Hello Community,
i have got a problem, i want to make the character lean out of the window when a tool is equipped, first i check if a tool is equipped, by using character.ChildAdded, and if child is a “tool”, after that i change the C1 property of seatweld placed inside the driveseat, basically C0 is the seat and C1 is the character’s position realitve to the seat. I got a part, already positioned, in the car body, but whenever i set the CFrame of the C1 to the part’s CFrame, i does teleport the player, but to a diffrent position,(somewhere under the car, the character isnt leaning out of the window).

script.Parent.DriveSeat:WaitForChild(“SeatWeld”).C1 = drivernewpos.CFrame

i dont know if i am doing it right, i also tried to change the collisiongroup of every character’s meshpart, so that it wont collide with the car body, but it didnt work, Thanks alot.

Yeah, i found the solution, u cant move, the seat of A-Chassis or the character humanoid root part, You have to change the C1 property of the characters UpperTorso Motor6D instance. Motor6D is almost the same as “Weld”, basically the LowerTorso, and legs will stay in the seat, only the uppertorso will be moved together with the head and arms.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.