Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 15 Oct 2016 04:56 PM |
I'm moving a model. game.Workspace.Lobby.Position = game.Workspace.Lobby.Position + Vector3.new(126.727, 92.22, -21.603)
how would i select all the parts to move the whole model, cause theirs like 300 parts. |
|
|
| Report Abuse |
|
|
| |
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 15 Oct 2016 05:00 PM |
game.Workspace.Lobby = game.Workspace.Lobby:MoveTo(200.727, 92.22, -21.603)
Like this? |
|
|
| Report Abuse |
|
|
Widths
|
  |
| Joined: 12 Aug 2014 |
| Total Posts: 41286 |
|
|
| 15 Oct 2016 05:00 PM |
game.Workspace.Lobby:MoveTo(game.Workspace.Lobby.Position + Vector3.new(126.727, 92.22, -21.603))
-iJava |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 15 Oct 2016 05:02 PM |
| Lobby is the model, I want to move all 300 or so parts. Position isn't a valid member of Model. |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
| |
|
Widths
|
  |
| Joined: 12 Aug 2014 |
| Total Posts: 41286 |
|
|
| 15 Oct 2016 05:06 PM |
oh, that's because Lobby is a model, so it doesn't have a Position property
use this: http://wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame
-iJava |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 15 Oct 2016 05:09 PM |
| How would you write it exactly? |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
| |
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 15 Oct 2016 05:17 PM |
Model:SetPrimaryPartCFrame(CFrame.new(126.727, 92.22, -21.603))
|
|
|
| Report Abuse |
|
|