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: Could Be Messing Up My Script

Previous Thread :: Next Thread 
XYmajik is online. XYmajik
Joined: 19 Apr 2015
Total Posts: 424
29 Dec 2016 03:07 PM
--This could be messing up my script.
r = math.random(1,3)

while true do
wait(r)
c = game.Workspace.Car:Clone()
c.Position = Vector3.new(3,3,6)
wait(5)
c:Destroy()
end
--It clones a car and places it in a new Vector3
Report Abuse
iYoshiFox is not online. iYoshiFox
Joined: 14 Apr 2012
Total Posts: 1058
29 Dec 2016 03:11 PM
I don't think you can position a model. Try c:MoveTo(Vector3.new(3, 3, 6))
Report Abuse
XYmajik is online. XYmajik
Joined: 19 Apr 2015
Total Posts: 424
29 Dec 2016 03:14 PM
It's not a model. Just a part with a car mesh.
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
29 Dec 2016 03:15 PM
c:SetPrimaryPartCFrame()

youll need to set a PrimaryPart. Look it up on the wiki if you are having trouble.

Report Abuse
XYmajik is online. XYmajik
Joined: 19 Apr 2015
Total Posts: 424
29 Dec 2016 03:16 PM
Why won't Vector3 work on a part? I do check on the wiki btw.
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