local RunService = game:GetService("RunService")
local targetLookVector = part1.CFrame.LookVector
weld.C1 = CFrame.new()
while part:IsDescendantOf(workspace) do
local part1Pos = part1.Position
local targetCf = CFrame.new(part1Pos, part1Pos+targetLookVector)
weld.C0 = part0.CFrame:Inverse()*targetCf
RunService.Stepped:Wait()
end
1 Like