of     1   

ethansoh11
#63981653Thursday, March 08, 2012 1:03 AM GMT

Its gun that has a brick sticking out to look like a Uzi. Heres the link: http://www.roblox.com/Broken-Gun-item?id=74174046 Please fix
ethansoh11
#63981714Thursday, March 08, 2012 1:04 AM GMT

Forgot to add problem. The problem is the brick sticking out falls off even though i have a C-Frame weld script in it
xvgigakid
#63983087Thursday, March 08, 2012 1:28 AM GMT

Well post the weld script, No one is gonna bother to get your model and check the script. If you want us to help you, Your gonna need to provide is with all the pieces.
xvgigakid
#63987291Thursday, March 08, 2012 2:33 AM GMT

And he goes offline >.>
ethansoh11
#64006984Thursday, March 08, 2012 8:32 PM GMT

Heres the weld script: c = script.Parent:getChildren() for a = 1, #c do if c[a].Name ~= "Handle" and c[a].className == "Part" then value = Instance.new("CFrameValue") value.Parent = script.Parent.Handle value.Name = (c[a].Name.."CF") value.Value = c[a].CFrame:inverse()*script.Parent.Handle.CFrame end end function weld() c = script.Parent:getChildren() for a = 1, #c do if c[a].className == "Part" and c[a].Name ~= "Handle" then weld = Instance.new("Weld") weld.Parent = script.Parent.Handle weld.Part0 = weld.Parent weld.Part1 = c[a] weld.C1 = script.Parent.Handle[c[a].Name.."CF"].Value end end end script.Parent.Equipped:connect(weld) weld() c = script.Parent:getChildren() for a = 1, #c do if c[a].className == "Part" then c[a].Anchored = false end end There 4 bricks named Hole,Handle,and 2 Parts
comeon38
#64010279Thursday, March 08, 2012 9:37 PM GMT

Do the parts have a Separate name? Two parts named "Part" would mess up the weld because you attempt to find a Value that is already in existence. The script doesn't just KNOW the one you want. You need to give them speparate names.
ethansoh11
#64012973Thursday, March 08, 2012 10:33 PM GMT

Ok so i could name the other part brick. Then copy the same script then change the words with 'part' into brick?
comeon38
#64013222Thursday, March 08, 2012 10:37 PM GMT

Pretty much.
ethansoh11
#64014017Thursday, March 08, 2012 10:51 PM GMT

Still doesn't work
comeon38
#64014275Thursday, March 08, 2012 10:56 PM GMT

c = script.Parent:getChildren() for a = 1, #c do if c[a].Name ~= "Handle" and c[a].className == "Part" then value = Instance.new("CFrameValue") value.Parent = script.Parent.Handle value.Name = (c[a].Name.."CF") value.Value = c[a].CFrame:inverse()*script.Parent.Handle.CFrame end end function weld() c = script.Parent:getChildren() for a = 1, #c do if c[a].className == "Part" and c[a].Name ~= "Handle" then weld = Instance.new("Weld") weld.Parent = script.Parent.Handle weld.Part0 = weld.Parent weld.Part1 = c[a] weld.C1 = script.Parent.Handle[c[a].Name.."CF"].Value end end end script.Parent.Equipped:connect(weld) weld() if c[a].Name ~= "Hole" and c[a].className == "Part" then value = Instance.new("CFrameValue") value.Parent = script.Parent.Handle value.Name = (c[a].Name.."CF") value.Value = c[a].CFrame:inverse()*script.Parent.Handle.CFrame end end function weld() c = script.Parent:getChildren() for a = 1, #c do if c[a].className == "Part" and c[a].Name ~= "Hole" then weld = Instance.new("Weld") weld.Parent = script.Parent.Handle weld.Part0 = weld.Parent weld.Part1 = c[a] weld.C1 = script.Parent.Handle[c[a].Name.."CF"].Value end end end script.Parent.Equipped:connect(weld) weld() if c[a].Name ~= "Part" and c[a].className == "Part" then value = Instance.new("CFrameValue") value.Parent = script.Parent.Handle value.Name = (c[a].Name.."CF") value.Value = c[a].CFrame:inverse()*script.Parent.Handle.CFrame end end function weld() c = script.Parent:getChildren() for a = 1, #c do if c[a].className == "Part" and c[a].Name ~= "Part" then weld = Instance.new("Weld") weld.Parent = script.Parent.Handle weld.Part0 = weld.Parent weld.Part1 = c[a] weld.C1 = script.Parent.Handle[c[a].Name.."CF"].Value end end end script.Parent.Equipped:connect(weld) weld() if c[a].Name ~= "Brick" and c[a].className == "Part" then value = Instance.new("CFrameValue") value.Parent = script.Parent.Handle value.Name = (c[a].Name.."CF") value.Value = c[a].CFrame:inverse()*script.Parent.Handle.CFrame end end function weld() c = script.Parent:getChildren() for a = 1, #c do if c[a].className == "Part" and c[a].Name ~= "Brick" then weld = Instance.new("Weld") weld.Parent = script.Parent.Handle weld.Part0 = weld.Parent weld.Part1 = c[a] weld.C1 = script.Parent.Handle[c[a].Name.."CF"].Value end end end script.Parent.Equipped:connect(weld) weld() --Assuming the code you have is correct, try this.
ethansoh11
#64015930Thursday, March 08, 2012 11:25 PM GMT

Doest work but i think im doing something wrong. Could you take a look at it please? Like: http://www.roblox.com/Broken-Gun-item?id=74174046
ethansoh11
#64091598Saturday, March 10, 2012 2:42 PM GMT

bump

    of     1