i have a folder in workspace called "Spotlights" and in them is my models all named the same: "Spotlight_1" and in them i have a part and in the part i have the beam. how can i change colors for all the "Spotlight_1 " models?
while true do
script.Parent.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
wait(1)
end

2 comments
Check my answer https://scriptinghelpers.org/questions/99239/does-tables-get-syntax-errors
dont help