Hello, im trying to figure out how to send an atmosphere to lighting which i’ve added in replicated storage so it works since there is no Enabled property for atmposphere or is their any way to activate atmosphere through script
my script is
local atmos = game.ReplicatedStorage:WaitForChild("Atmosphere2")
local value = ...
if value >= 1000 then
atmos.Enabled = ??? -- idk how to send it to lighting or enable it
else
...
local atmos = game.ReplicatedStorage:WaitForChild("Atmosphere2")
local value = ...
if value >= 1000 then
local newatmos = atmos:Clone()
newatmos.Parent = game.Lighting
end