Hey, guys. So I was trying to make a script that unanchors all the parts within a model:
local allparts = script.Parent:GetChildren() allparts.Anchored = false
But it didn't turn out so well... If anyone can help me out with this problem, I'd gladly appreciate it. Thanks
No, Since Anchored isn't a property of Model but however you can unanchored the Child inside the model using in pairs loop which will have the same effect. For example:
for _,v in pairs (game.Workspace.Model:GetChildren()) do if v:IsA("Part") then--Checks if the Child that is inside the Model is ClassName Part. v.Anchored = false end end