of     1   

XXXilikcookiesXXX
#140572732Thursday, July 17, 2014 12:43 AM GMT

I've been trying to replicate this script, just in my own version, but I can't seem to do it. Probably because of my lack of understanding of the script. What the script does is it puts a linked sword on your back when you unequip it. Thanks in advance! handle = nil function onUnequipped() if script.Parent.Parent == workspace or script.Parent.Parent.className ~= "Backpack" then if handle ~= nil then handle:remove() end return end local char = script.Parent.Parent.Parent.Character if char ~= nil then local torso = char:findFirstChild("Torso") local tool = char:findFirstChild(script.Parent.Name) if torso ~= nil and tool == nil then handle = script.Parent.Handle:clone() handle.CanCollide = false handle.Name = script.Parent.Name handle.Parent = char local weld = Instance.new("Weld") weld.Name = "BackWeld" weld.Part0 = torso weld.Part1 = handle weld.C0 = CFrame.new(0,0,1.1) weld.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(30),0) weld.Parent = handle elseif torso ~= nil and tool ~= nil then if tool.className == "Part" then handle = tool tool.Transparency = script.Parent.Handle.Transparency end end end end script.Parent.Unequipped:connect(onUnequipped) function onEquipped() if handle ~= nil then handle.Transparency = 1 end end script.Parent.Equipped:connect(onEquipped)
MHebes
#140572825Thursday, July 17, 2014 12:44 AM GMT

Sure, I will. Give me a minute to write the explanations.
MHebes
#140573421Thursday, July 17, 2014 12:51 AM GMT

Hmm... This probably isn't the best script to have explained. It's a little old and has some unnecessary bits in it.
XXXilikcookiesXXX
#140573498Thursday, July 17, 2014 12:52 AM GMT

Ah, I see. That's most likely why I'm finding it confusing x)
MHebes
#140573726Thursday, July 17, 2014 12:54 AM GMT

Here, let me rewrite it quick.
MHebes
#140574894Thursday, July 17, 2014 1:08 AM GMT

Okay, check out this codepad: /BW4bNWXO If that's a script inside the sword tool, it will work. Read the comments I put to learn.
XXXilikcookiesXXX
#140575657Thursday, July 17, 2014 1:16 AM GMT

Alright, thanks again!! :D

    of     1