how to weld this to player hand when a button is press
this is my script not working idk why
local Gun = script.Gun:Clone()
local weld = Instance.new("Weld")
weld.Part0 = Gun
weld.Part1 = Character["RightHand"]
weld.C0 = CFrame.new(0,Character["RightHand"].Size.Y/2,0)
Kaid3n22
(Kaiden)
#2
you need a weld’s part0 to be a part. So, it should be welding the handle and the hand
local Gun = script.Gun:Clone()
local weld = Instance.new("Weld")
weld.Part0 = Gun.Handle
weld.Part1 = Character["RightHand"]
weld.C0 = CFrame.new(0,Character["RightHand"].Size.Y/2,0)