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: Having trouble keeping parts together.

Previous Thread :: Next Thread 
SkilledSquid is not online. SkilledSquid
Joined: 03 Oct 2014
Total Posts: 7729
09 Feb 2015 05:37 PM
-- I have this model in lighting so the script copy's and pastes it into workspace.


-- Once it goes into workspace this script plays out.


wait (5)


function unanchor(obj)
for i, v in pairs(obj:GetChildren()) do
if v:IsA("BasePart") then
v.Anchored = false
end
end
end

unanchor(workspace.model.model)


-- once it is un-anchored everything falls apart.


-- solutions please!


-- Btw it is a car so the is joints on parts and welds on parts.
Report Abuse
SkilledSquid is not online. SkilledSquid
Joined: 03 Oct 2014
Total Posts: 7729
09 Feb 2015 05:38 PM
bump
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
09 Feb 2015 05:38 PM
model:MakeJoints()
Report Abuse
SkilledSquid is not online. SkilledSquid
Joined: 03 Oct 2014
Total Posts: 7729
09 Feb 2015 05:41 PM
--Where do i put it in here?

function unanchor(obj)
for i, v in pairs(obj:GetChildren()) do
if v:IsA("BasePart") then
v.Anchored = false
end
end
end

unanchor(workspace.model.model)

--Please show me where to put it in.
Report Abuse
SkilledSquid is not online. SkilledSquid
Joined: 03 Oct 2014
Total Posts: 7729
09 Feb 2015 05:42 PM
b2
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
09 Feb 2015 05:52 PM
for - if end (here) end
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