generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is there a way to position a whole model?

Previous Thread :: Next Thread 
AntiFiter is not online. 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
Yottabytes is not online. Yottabytes
Joined: 01 Jan 2015
Total Posts: 26
02 Jan 2015 12:29 PM
local m = game.ServerStorage.MODEL:Clone()
m.Parent = workspace
Report Abuse
AntiFiter is not online. 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 is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
02 Jan 2015 12:50 PM
b
Report Abuse
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
02 Jan 2015 02:36 PM
qq
Report Abuse
Fl0x is not online. 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 is not online. ImInABlox
Joined: 15 Apr 2009
Total Posts: 822
02 Jan 2015 02:51 PM
Use className?
Report Abuse
ImInABlox is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image