I have three motor6ds in the player’s torso that are attached to a part in the left, right, and middle of the player
When I press “A” the part in the middle should smoothly move towards the part on the left. I tried doing this myself but i got some really weird results
if input.KeyCode == Enum.KeyCode.A then
heldDownLeft = true
local a = Instance.new("Part")
a.CanCollide = false
a.Size = Vector3.new(1,1,1)
a.Parent = workspace
a.CFrame = character.HumanoidRootPart.CFrame + Vector3.new(0,-3,0)
local b = character.Torso.b.C1
for progress = 0, 1, 0.03 do
local left = character.Left.CFrame
character.Torso.b.C1 = b:lerp(left, progress)
wait()
end
end