I know how to make a script to handle 1 light, but 102 without having to make a long inefficient script... I've tried pretty much everything I know but nothing seems to work. Does anyone here know how to make that light switch toggle all those at once?
Makes the light's name become etc: Light1 ,Light2 ,Light3 ,Light4... Until Light102
and enter this script
local int = Instance.new("IntValue",workspace) -- make a IntValue int.Value = 1 HowMuchLights = 102 -- how many light you have repeat -- repeat and repeat until int.Value > HowMuchLights game.Workspace["Light"..int.Value].SpotLight.Brightness = 10 -- make every lights become brightness 10 int.Value = int.Value + 1 until int.Value > HowMuchLights -- dont give server search Light103 and moderated OR freeze your Roblox Studio
Hope I helped, happy coding! :D
:)