Cant change rotation of parts welded to R6 player's arm

I want to make a trowel that welds to the r6 player’s hand, but I can’t find out how to rotate the welded part, ive tried searching through past forums and trying “Cframe.Angles” but i couldnt find a solution with any of them.

Here is my code:

local handle = script.Parent

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
		if handle.Parent:FindFirstChild("Humanoid") == nil then
			local plrhandle = handle:Clone()
			plrhandle.Parent = char
			plrhandle.Anchored = false

			local rightarm = char:WaitForChild("Right Arm")

			local weld = Instance.new("Motor6D")
			weld.Name = "Touch Interest"
			weld.Parent = plrhandle
			weld.Part0 = plrhandle
			weld.Part1 = rightarm
			weld.C0 = plrhandle.CFrame
			weld.C1 = rightarm.CFrame * CFrame.new(0, -1.5, 0)
		end
	end)
end)



(the trowel is not a tool)

1 Like

Try this and see if it works… Fiddle with the rotation values and see if it rotates

local weld = Instance.new("Motor6D")
weld.Name = "Touch Interest"
weld.Parent = plrhandle
weld.Part0 = plrhandle
weld.Part1 = rightarm
weld.C0 = CFrame.new(Vector3.new(0,1.5,0)) * CFrame.Angles(
	math.rad(0), --X rotation
	math.rad(0), --Y rotation
	math.rad(0) --Z rotation
)

Sorry im late, this worked perfectly! thanks :slightly_smiling_face: