You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
Change all SurfaceLight properties brightness, etc…instead of manually selecting 1 at a time and changing it.
What is the issue? Include screenshots / videos if possible!
A lot of SurfaceLight in game…
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Theres a lesser known plugin that I used for this exact purpose recently for a game of mine. It’s called the Selection Plugin and allows you to select all of the items in workspace by a specific name or class name.
Heres the link to the plugin, just put in SurfaceLight and it’ll get all of the ones in workspace!
Select all the stuff containing the surface lights and run this in the command bar:
function attemptChange(light)
if (light:IsA("SurfaceLight")) then
light.Brightness = --whatever
end
end
for _, item in ipairs(game.Selection:Get()) do
attemptChange(item)
for _, desc in ipairs(item:GetDescendants()) do
attemptChange(desc)
end
end