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: Moving models

Previous Thread :: Next Thread 
Frenchtoast0 is not online. Frenchtoast0
Joined: 31 Aug 2015
Total Posts: 153
23 Sep 2017 07:31 PM
Hello! I have created a model to be used as a map in a game that I am creating. I have come to a point where I want to move the map through a script. How would I do this? game.Workspace.HFmap1.PrimaryPart:MoveTo(Vector3.new(0,0,0)) does not work.
Report Abuse
LotsOfViolence is not online. LotsOfViolence
Joined: 29 Jun 2011
Total Posts: 8375
23 Sep 2017 07:33 PM
I inserted a random soldier model and did this:

game.Workspace.Soldier:MoveTo(Vector3.new(3,3,3))

and it worked fine. So I'm not sure.


Report Abuse
pidgey is not online. pidgey
Joined: 16 Jan 2008
Total Posts: 2739
23 Sep 2017 07:37 PM
primarypart is the primary part of a model, MoveTo is a function of the model, not part
Report Abuse
Frenchtoast0 is not online. Frenchtoast0
Joined: 31 Aug 2015
Total Posts: 153
23 Sep 2017 07:41 PM
Ok, thanks.
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