Not sure if i'm using :GetChildren() correctly? Not a good scripter trying to see if it works
Trying to do a script that when you click a button all the parts in the model "doors" become Transparent and CanCollide off, I dont want to have it so that every single individual part is listed in the script if possible, this is what i've thought will work but it dosent, any ideas?
2 | game.Workspace.Door:GetChildren().Transparency = 1 |
3 | game.Workspace.Door:GetChildren().CanCollide = false |
6 | script.Parent.ClickDetector.MouseClick:connect(onClicked) |