|
| 12 Nov 2011 10:15 AM |
I know I am posting here quite often... But Hey, Cant do it without ya!
I've got my model unanchored, and since its CFramed, everytime I clone it, the parts will fall off. Yes, it is welded on mostly every side. The problem is, is there any way I can anchor the model then unanchor it wince it is cloned? I've tried to anchor the model itself but that seems to not work, and im not very fond of this stuff anyways? The script is below, please make changes as you please.
--------------------------------------------------------
newtank = game.Workspace.T25AT:Clone() game.Workspace.T25AT:Remove() function Cloning() newtank.Parent = game.Workspace newtank.Name = Player.Name.." Tank" wait(0.5) game.Lighting.TankDestroyer:Clone().Parent = Player.Backpack wait(1) game.Workspace.CurrentCamera.CameraSubject=game.Workspace[Player.Name.." Tank"].View game.Workspace.CurrentCamera.CameraType="Follow" end script.Parent.MouseButton1Click:connect(Cloning) |
|
|
| Report Abuse |
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 12 Nov 2011 10:17 AM |
| Use MakeJoints() on the cloned model. |
|
|
| Report Abuse |
|
| |
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 12 Nov 2011 10:23 AM |
| You may want to have it in say lighting then anchored it all, then clone it to workspace and have your weld script run and as it welds it un-anchors it. |
|
|
| Report Abuse |
|