|
| 28 Aug 2012 04:47 PM |
| So say I have this gun in my Starterpack with a part on it named 'Rail'. How would I make a script that clones a model with multiple parts (lets name this model 'RedDot') to the positon of the rail? |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Aug 2012 05:28 PM |
| Can someone please respond |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2012 05:30 PM |
Never done it, but I believe you do something along the lines of
game.Lighting.Model:Clone().Position = game.Workspace.Part.Position |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Aug 2012 05:46 PM |
local Cloned = game.Lighting.Model:Clone() Cloned.Position = game.Workspace.Part.Position Cloned.Parent = Workspace
¤¤ †KMXD† ¤¤ [SHG Tier~3] [Freelancing Scripting Guru] •д• |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2012 05:47 PM |
local Clone = Obj:Clone() Clone:MoveTo(Rail.Position) Clone.Parent = Parent |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2012 05:58 PM |
| The part that I cloning it to is in a tool is you guys didn;t know that |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2012 06:10 PM |
The tool is int the starter pack...
|
|
|
| Report Abuse |
|
|
| |
|