Doesn't creates the weld

I’m making a grabbing system and this doesn’t adds “GrabWeld” to part.

local character = plr.Character
		local humanoidRootPart = character.HumanoidRootPart
		part.CFrame = humanoidRootPart.CFrame * CFrame.new(0, 0, -5)
		local Weld = Instance.new("WeldConstraint", part)
		Weld.Name = "GrabWeld"
		Weld.Part0 = part
		Weld.Part1 = humanoidRootPart
		if part:FindFirstChild("Weldmen") then
			part:FindFirstChild("Weldmen"):Destroy()
		end
		print("Hi4")
		part.BeingGrabbed.Value = true

Is this a local script or a server script, and where is it parented? Also does Hi4 print and do you get any error messages?