Hi, I'm trying to find out how to do this, I've tried many ways but they all throw an error, here is what I tried to use.
LobbyCount = game.Workspace:GetChildren()
for i, v in pairs(LobbyCount) do
Part = LobbyCount[i]:GetChildren()
if Part:FindFirstChild("PointLight") then
Part.PointLight.Enabled = false
end
end

1 comment
Thanks a lot. ^^