How to use weld to let player hold a item

How to make player holding a item with weld

See:

1 Like

You already made this post and it got answered?

Take a look at this. More specifically, the C0/C1 properties.

This was your original post.

local players = game:GetService("Players")
local player = players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local leftHand = character:WaitForChild("LeftHand")

local part = Instance.new("Part")
local weld = Instance.new("Weld")
weld.Parent = part
weld.Part0 = leftHand
weld.Part1 = part
part.CanCollide = false
part.Parent = leftHand