Created
January 12, 2017 07:40
-
-
Save spotco/e7743e7970079ed7e5a3fd5460a49b16 to your computer and use it in GitHub Desktop.
SetStuffAnchored.lua
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for _,child in pairs(game.Workspace.Environment.StreetLamps:GetChildren()) do | |
| local LampMesh = child:FindFirstChild("LampMesh") | |
| if LampMesh then | |
| for _,child in pairs(LampMesh:GetChildren()) do | |
| child.Anchored = true | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment