WeldConstraint not working right

The WeldConstraint isn’t working (it doesn’t get attached)

What it looks like:
image
The Torch is supposed to be welded to the LeftHand (the red dot)

I am trying to do something like that
image

Here is the script:

	plr.CharacterAdded:Connect(function(character)
		local ClonedTorch = Torch:Clone()
		local LeftHand = character:FindFirstChild("LeftHand")
		local Weld = Instance.new("WeldConstraint")
		Weld.Parent = LeftHand
		Weld.Part0 = LeftHand
		Weld.Part1 = Torch.PrimaryPart
		ClonedTorch:PivotTo(LeftHand.CFrame)
		ClonedTorch.Parent = LeftHand

Here’s the explorer:
image

For some reason, the Weld Propreties show the right Part1 in SERVER
image

It doesn’t show in CLIENT
image

Thank you

and yes, I did assign PrimaryPart

image

used the wrong variable bruh took me an hour to find the simple mistake

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.