crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
|
| 22 Jan 2014 10:34 AM |
| I need it for my steampunk airship |
|
|
| Report Abuse |
|
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
| |
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
| |
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
|
| 22 Jan 2014 10:46 AM |
B3
This is scripting helpers so I figured someone could help me. I'm a noob to scripting so yeah haha. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 10:46 AM |
You put the script into a model, and when ran, it will add a weld to every part, holding it together.
You can free model some good ones, or make your own. |
|
|
| Report Abuse |
|
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
|
| 22 Jan 2014 10:48 AM |
| I tried that but it falls apart still. Are there any other instructions? |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 10:50 AM |
You must have some faulty autowelds. Try this one:
local prev local parts = script.Parent:GetChildren()
for i = 1,#parts do if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then if (prev ~= nil)then local weld = Instance.new("Weld") weld.Part0 = prev weld.Part1 = parts[i] weld.C0 = prev.CFrame:inverse() weld.C1 = parts[i].CFrame:inverse() weld.Parent = prev end prev = parts[i] end end
Make sure: A) It is in a model with the parts: No models inside the model, just the parts and the script. If you have models within the model, ungroup them. B) It is in a regular script C) Everything is unanchored |
|
|
| Report Abuse |
|
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
| |
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
| |
|
|
| 22 Jan 2014 10:56 AM |
They should.
"or (parts[i].className == "VehicleSeat")" |
|
|
| Report Abuse |
|
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
| |
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
|
| 22 Jan 2014 11:05 AM |
| won't work. can I give you the ship to edit? |
|
|
| Report Abuse |
|
|
crazy651
|
  |
| Joined: 16 May 2012 |
| Total Posts: 9684 |
|
| |
|