local Weld = Instance.new("Weld", Player.Character:FindFirstChild(currentFoot))
Weld.Part0 = Player.Character:FindFirstChild('Torso')
Weld.Part1 = Player.Character[currentFoot]
if currentFoot == 'Right Leg' then
footToActivate.Value = 'Right Leg'
Weld.C0 = RightCFrame
else
footToActivate.Value = 'Left Leg'
Weld.C0 = LeftCFrame
end
sendInfoToServer:FireServer(currentFoot, RightCFrame, LeftCFrame, module.Duration)
local tween = TweenService:Create(Weld, tweenInfo, {C1 = CFrame.new(0.5, -1.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)})
Good afternoon, I have this weld/tween hybrid script and the tween and weld works fine. However, in the {goal} part of the tween, the Cframe is not going to the default roblox character position.
And instead it tweens to this position:
As you can see the angle of the leg doesn't change back to the default even though I put CFrame.fromEulerAnglesXYZ(0, 0, 0). And the position is going in to the torso???? But CFrame.new(0.5, -1.5, 0) not CFrame.new(0, 0, 0).
Any help is very much appreciated.
