|
| 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
|
  |
| 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 |
|
|
|
| 11 May 2015 02:41 PM |
| I know but im trying to anchor a part not a model |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
|
| 11 May 2015 02:44 PM |
add if part:IsA("BasePart") or part:IsA("UnionOperation") then
that should help. |
|
|
| Report Abuse |
|
|