|
| 29 Apr 2012 09:59 AM |
| I tried to make a weld script for my weapon, but it just put all the bricks in the gun to the position of the Handle. That's what happened when I tried Roblox Wiki. I tried Youtube. No results. So can someone explain to me how to make a weld script and maybe include an example of one? |
|
|
| Report Abuse |
|
|
| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 29 Apr 2012 10:24 AM |
| crazyman32 profile he maked an auto weld script |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Apr 2012 12:43 PM |
| It doesn't work! Almost all the comments on the weld script said that it didn't work! Well, it didn't! It just did some really wierd stuff and pulled back lost data. So, does anyone know how to make a normal weld script? |
|
|
| Report Abuse |
|
|
|
| 29 Apr 2012 01:23 PM |
| Does anyone know how to make a working weld script? I just need an example of one and how to edit it how I need it. All the bricks on got pulled to the very center of the Handle. My gun actually used just two bricks. Does anyone know how? |
|
|
| Report Abuse |
|
|
Drenkus
|
  |
| Joined: 03 May 2009 |
| Total Posts: 2380 |
|
|
| 29 Apr 2012 01:49 PM |
| The wiki has welds, I'd help but I don't know how to use them either. |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 01 May 2012 05:40 AM |
function onChanged() local w1 = Instance.new("Weld") local w2 = Instance.new("Weld") local w3 = Instance.new("Weld") local w4 = Instance.new("Weld") local w5 = Instance.new("Weld") w1.Parent = script.Parent.Handle w2.Parent = script.Parent.Handle w3.Parent = script.Parent.Handle w4.Parent = script.Parent.Handle w5.Parent = script.Parent.Handle w1.Part0 = w1.Parent w2.Part0 = w2.Parent w3.Part0 = w3.Parent w4.Part0 = w4.Parent w5.Part0 = w5.Parent w1.Part1 = script.Parent.Handle2 w2.Part1 = script.Parent.Handle3 w3.Part1 = script.Parent.Handle4 w4.Part1 = script.Parent.Handle5 w5.Part1 = script.Parent.Handle6 w1.C1 = CFrame.new(-0.01, 1, -0.01) w2.C1 = CFrame.new(-0.01, -1, -0.01) w3.C1 = CFrame.new(-0.01, -1.2, -0.01) w4.C1 = CFrame.new(-0.01, -4, -0.01) w5.C1 = CFrame.new(-0.01, -7.5, -0.01) end script.Parent.AncestryChanged:connect(onChanged) |
|
|
| Report Abuse |
|
|