AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
|
| 02 Jan 2015 12:28 PM |
| I'm trying to copy a model from ServerStorage and then paste it a stud or two away from a players character. The position isn't the hard part. How do I paste the entire model into workspace using one command? |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2015 12:29 PM |
local m = game.ServerStorage.MODEL:Clone() m.Parent = workspace |
|
|
| Report Abuse |
|
|
AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
|
| 02 Jan 2015 12:30 PM |
I'm not asking to simply move it to workspace.
I'm asking how to parent it to workspace and THEN move it something like, ex (1,1,1), away from the character. |
|
|
| Report Abuse |
|
|
AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
| |
|
AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
| |
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 02 Jan 2015 02:41 PM |
http://wiki.roblox.com/index.php?title=Model
I suggest :MoveTo(Vector3 pos) |
|
|
| Report Abuse |
|
|
ImInABlox
|
  |
| Joined: 15 Apr 2009 |
| Total Posts: 822 |
|
| |
|
ImInABlox
|
  |
| Joined: 15 Apr 2009 |
| Total Posts: 822 |
|
|
| 02 Jan 2015 02:51 PM |
| No that wouldn't work, would make everything same position :P |
|
|
| Report Abuse |
|
|
cycoboy83
|
  |
| Joined: 31 May 2011 |
| Total Posts: 831 |
|
|
| 02 Jan 2015 03:09 PM |
Try this, name the base part (the part you want everything else to move relative to) Base, then use this: Workspace.Model.PrimaryPart = Workspace.Model.Base Workspace.Model:SetPrimaryPartCFrame(CFrame.new(1,1,1)) |
|
|
| Report Abuse |
|
|