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 me with this line?

Previous Thread :: Next Thread 
killaman333 is not online. killaman333
Joined: 16 Jan 2013
Total Posts: 1143
11 May 2015 02:35 PM
local maps = game.Workspace:FindFirstChild(MapName)
for a , part in ipairs(maps:GetChildren()) do
part.Anchored = false
part:MakeJoints()
end

can you please tell me whats wrong with this script everytime i run it, it says "Anchored is not a valid member of Model" in the output window but anchored is not a child it is a property (and im not even trying to get a child of a model im tyring to get a property of a part in the model)
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
11 May 2015 02:39 PM
Anchored is not a property of Models I'm sure because Anchored belongs to BasePart, not PVInstance
Report Abuse
killaman333 is not online. killaman333
Joined: 16 Jan 2013
Total Posts: 1143
11 May 2015 02:41 PM
I know but im trying to anchor a part not a model
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
11 May 2015 02:43 PM
Well obviously not dude
Report Abuse
vectorGunner is not online. vectorGunner
Joined: 23 Mar 2014
Total Posts: 784
11 May 2015 02:44 PM
add if part:IsA("BasePart") or part:IsA("UnionOperation") then

that should 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