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

Previous Thread :: Next Thread 
DevKonner is not online. DevKonner
Joined: 04 Feb 2012
Total Posts: 519
17 Jan 2016 01:54 PM
When I press this button I have it to where it clones a vehicle from lighting into workspace. But when it clones it breaks and the car unanchors and goes everywhere. When I test the car without click the button its all normal. Am I able to make something to where it loads parts at a time without it going everywhere?

script.Parent.MouseButton1Down:connect(function()
local car = game.Lighting.SUV:clone()
car.Parent = game.Workspace
script.Parent.Parent.Parent.Parent.Parent:Destroy()
end)
Report Abuse
Crimsonal is not online. Crimsonal
Joined: 23 Apr 2011
Total Posts: 1795
17 Jan 2016 01:56 PM
script.Parent.MouseButton1Down:connect(function()
local car = game.Lighting.SUV:clone()
car:MakeJoints()
car.Parent = game.Workspace
car:MakeJoints()
script.Parent.Parent.Parent.Parent.Parent:Destroy()
end)



Report Abuse
ColonySimulator is not online. ColonySimulator
Joined: 05 Jul 2015
Total Posts: 1721
17 Jan 2016 01:56 PM
script.Parent.MouseButton1Down:connect(function()
local car = game.Lighting.SUV:clone()
car.Parent = game.Workspace
car:MakeJoints()
script.Parent.Parent.Parent.Parent.Parent.Parent:Destroy()
end)
Report Abuse
DevKonner is not online. DevKonner
Joined: 04 Feb 2012
Total Posts: 519
17 Jan 2016 02:00 PM
@Crimsonal that works but one of the wheels in the car are falling off. Do you think it would be the scripts problem or the vehicle? Because when I use the vehicle normally a wheel doesn't fall off.
Report Abuse
Crimsonal is not online. Crimsonal
Joined: 23 Apr 2011
Total Posts: 1795
17 Jan 2016 02:01 PM
idk, but that's the script I use when I'm inserting NPCS


Report Abuse
DevKonner is not online. DevKonner
Joined: 04 Feb 2012
Total Posts: 519
17 Jan 2016 02:03 PM
Alright, thanks for your help!
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