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: Help plz

Previous Thread :: Next Thread 
seith14 is not online. seith14
Joined: 10 May 2014
Total Posts: 56
10 Jan 2015 10:29 PM
Alright I'm currently using A Part:MoveTo(Vector3.new(0,0,0)) But the model spawns ontop of the model I am moving it to. All I want it to be kinda like a gate that moves up into this part but Like I said it moves ontop of the part instead of where I want it to be..
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
10 Jan 2015 10:39 PM
:MoveTo() doesnt go into other parts

use part.CFrame = CFrame.new(0,0,0)
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
10 Jan 2015 10:40 PM
:MoveTo() is for models
Report Abuse
Fakecake777 is not online. Fakecake777
Joined: 19 Nov 2012
Total Posts: 441
10 Jan 2015 11:52 PM

Models have a property called PrimaryPart. You have to set this manually.
You can then use model:SetPrimaryPartCFrame(yourCFrameHere)
Report Abuse
seith14 is not online. seith14
Joined: 10 May 2014
Total Posts: 56
11 Jan 2015 04:16 PM
Ya I'm moving a model not a part.. i just named it part.
Report Abuse
seith14 is not online. seith14
Joined: 10 May 2014
Total Posts: 56
11 Jan 2015 04:22 PM
How do I set a PrimaryPart? I tried changing the part's Name to PrimaryPart but it did nothing when the script was ran.
Report Abuse
seith14 is not online. seith14
Joined: 10 May 2014
Total Posts: 56
11 Jan 2015 05:42 PM
Nvm I found out how thank you!
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