How to make part stick to my character's hand?

I want it to be stuck on my character’s hand and not falling off.


local part = game:GetService("ReplicatedStorage"):WaitForChild("Part")

re.OnServerEvent:Connect(function(player)
	local char = player.Character
	local partClone = part:Clone()
	 partClone.Position = char.LeftHand.Position
	 partClone.Parent = workspace
	game.Debris:AddItem(partClone, 2)
end)
2 Likes

You’ll need to use WeldConstraints.

local Weld = Instance.new("WeldConstraint",char)
Weld.Attachment0 = Instance.new("Attachment",partClone)
Weld.Attachment1 = Instance.new("Attachment",char.LeftHand)

I also recommend setting the position slightly above the hand so the part is visible.

partClone.CFrame = CFrame.new(char.LeftHand.CFrame*CFrame.new(0,2,0))