so i was trying to weld this sword to my hand, anyone know why it goes to my shoulder?
i have ann attachment on my katana and I set its Cframe to the Cframe of the attachment on my hand
local module = {}
module.WeaponEquip = function(player,WeaponName)
local char = player.Character
local rightarm = char:WaitForChild("Right Arm")
for i,v in script.Parent.WeaponHander.SwordBlade:GetChildren() do
if v.Name == WeaponName then
for i, s in char:GetChildren() do
if s.Name == WeaponName then
s.CASEPart.Basic_Handle.Transparency = 1
end
end
local Blade = v:Clone()
Blade.Parent = char
local weld = Instance.new("Weld")
weld.Name = "Part_Weld"
weld.Part0 = rightarm
weld.C0 = Blade.Grip.CFrame
weld.Part1 = Blade
weld.C1 = rightarm.RightGripAttachment.CFrame
weld.Parent = char
end
end
end
return module