I’m trying to make a map system, when a map loads in, stuff like colorcorrection, sunrays and stuff should load in with the map
local Cosmetics = Map:FindFirstChild("LightingCosmetics")
if Cosmetics then
for i,v in pairs(Cosmetics:GetChildren()) do
local Thing = v:Clone()
Thing.Name = "MinigameEssential"
Thing.Parent = Lighting
pcall(function()
Thing.Enabled = true
end)
end
end
The sunrays dont seem to load in, even when using a localscript.
ive also tried doing localscript stuff (parenting the rays to the camera) and it also doesnt work