So I want the player to spawn in with some setting with lighting, but the lighting makes it a bit distracting when I edit, so I made a script which copies the Instances onto game.Lighting, but it doesn’t work? Like theres no errors or anything, the script doesn’t function, at all. Its enabled, the instances are enabled, its all archivable. Is this a bug or something?
local function lighting()
print("Worked") --doesn't work either
for _,v in pairs(game.ReplicatedStorage.Lighting.Menu:GetChildren()) do
local vv = v:Clone()
vv.Parent = script.Parent
end
end
lighting()