|
| 03 Jul 2017 12:36 AM |
| I know how to create a weld, but once I create them, the 2 parts just have the same positions, how create that weld without the 2 bricks sticking together? |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Jul 2017 12:39 PM |
do you mean like if one moves the other moves?
#code print("oh no an errorz!") |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2017 12:44 PM |
| function weld(p1,p2) local w=Instance.new("Weld",p1); w.Name="Weld: "..p1.Name.." & "..p2.Name.."." w.Part0=p1; w.Part1=p2; ######################## * p2.CFrame; w.C1=CFrame.new(0,0,0); return w; end; weld(part1,part2); try that |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2017 12:46 PM |
| pastebin ### ################ / BVeF4uL0 |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2017 12:47 PM |
Ugh, stupid filter.
/BVeF4uL0
^before that, add the reverse of this: moc.nibetsap |
|
|
| Report Abuse |
|
|
cabbler
|
  |
| Joined: 19 Jun 2015 |
| Total Posts: 735 |
|
|
| 03 Jul 2017 12:54 PM |
local part0 local part1
local weld = Instance.new("Weld") weld.C0 = part0.CFrame:toObjectSpace(part1.CFrame) weld.Part0,weld.Part1 = part0,part1 weld.Parent = part0 |
|
|
| Report Abuse |
|
|