Weld problem (c1)

hi guyz im casually scripting and tried to change a positon and rotation of c1 in my weld, and after i write one line that changes pos. or rot. line two (that to changes parametrs of c1) not working. I dont know how to fix it.

here code of my tryings:

local joint = Instance.new("Motor6D")
joint.Name = "money_handle"
joint.C1 = CFrame.new(0,-1,0)
joint.C1 = CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0))
detector.MouseClick:Connect(function(player)
	local money = player:FindFirstChild("leaderstats"):FindFirstChild("money")
	local arm = player.Character:FindFirstChild("Right Arm")
	
	local hum = player.Character:FindFirstChild("Humanoid")
	
	local anim_pick = script.pick
	local anim = player.Character:FindFirstChild("Humanoid"):LoadAnimation(anim_pick)
	
	money_handle.Parent = player.Character
	
	joint.Part0 = arm
	joint.Part1 = money_handle
	joint.Parent = arm
	
	anim:Play()
	money.Value = money.Value + 5
	script.Parent:Destroy()
end)