Skip to content

Instantly share code, notes, and snippets.

@spotco
Created January 12, 2017 07:40
Show Gist options
  • Select an option

  • Save spotco/e7743e7970079ed7e5a3fd5460a49b16 to your computer and use it in GitHub Desktop.

Select an option

Save spotco/e7743e7970079ed7e5a3fd5460a49b16 to your computer and use it in GitHub Desktop.
SetStuffAnchored.lua
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