of     1   

Weirdraidercs35
#184923817Monday, March 07, 2016 8:31 AM GMT

weld = Instance.new("ManualWeld", a) weld.Part0 = a weld.Part1 = b weld.C0 = a.CFrame:inverse() * b.CFrame return weld end sight= game.Lighting.attachemets["reflex sight"]:Clone() sight.Parent=primarytool player.Character:FindFirstChild(primarytool) sight:MoveTo(primarytool.sightpart.Position)--+Vector3.new(0,1,0)) local function weldBetween(a, b) sight.PrimaryPart.Rotation=primarytool.sightpart.Rotation local weld = weldBetween(primarytool.Handle, sight.PrimaryPart) primarytool.Unequipped:connect(function() sight:Destroy() end) This does not work. Its supposed to clone a reflex sight from lighting, and position it onto the sightpart and weld it there. I have no idea what im doing wrong as it should work/
WoolHat
#184925767Monday, March 07, 2016 11:39 AM GMT

Any error? What do you mean when you say it's not working?
Casualist
#184926331Monday, March 07, 2016 12:13 PM GMT

local function weldBetween(a, b) weld = Instance.new("ManualWeld", a) weld.Part0 = a weld.Part1 = b weld.C0 = a.CFrame:inverse() * b.CFrame return weld end sight= game.Lighting.attachemets["reflex sight"]:Clone() sight.Parent=primarytool player.Character:FindFirstChild(primarytool) sight:SetPrimaryPartCFrame(primarytool.sightpart.CFrame) local weld = weldBetween(primarytool.Handle, sight.PrimaryPart) primarytool.Unequipped:connect(function() sight:Destroy() end)
INOOBE_YT
#184926778Monday, March 07, 2016 12:33 PM GMT

w h y a r e t h e r e s o m a n y s p a c e s ?
Weirdraidercs35
#184955084Tuesday, March 08, 2016 12:16 AM GMT

TY i works now, but there is another problem. When I unequip the tool, my entire arms and head become unwelded and hang from my neck. Any reason for this ?
Weirdraidercs35
#184956337Tuesday, March 08, 2016 12:34 AM GMT

I got an error: 16:14:49.328 - Maximum event re-entrancy depth exceeded for Tool.Equipped 16:14:49.329 - While entering function defined in script 'Players.Player.PlayerGui.Inventory.maini.ivtstats.pattach', line 83

    of     1