My LocalScript in StarterGui errors "Stormy_Sky is not a valid member of ServerStorage" when it is. LocalScript:
local Status = game.ReplicatedStorage:WaitForChild("Status")
local clonedSky
if game.ServerStorage.Stormy_Sky then
print("Yes.")
end
Status:GetPropertyChangedSignal("Value"):Connect(function()
if Status.Value == "Game in progress." then
clonedSky = game.ServerStorage.Overcast:Clone()
print(clonedSky)
clonedSky.Parent = game.Lighting
clonedSky.Name = "Overcast"
game.Lighting.ClockTime = 1
else
if game.Lighting.Overcast then
game.Lighting.Overcast:Destroy()
end
game.Lighting.ClockTime = 12
end
end)
Do I need to change it to a Script?
PS. It won't print "Yes."

6 comments
Explanation: I want this script to change the sky and time when a round starts.
put what ever you want it to get in the lighting
A localscript is a client sided script. If you are wanting to access serverstorage(this is serversided) you need to either be in a script or use a remote event.
Put it in Replicated Storage as this replicates to the client and allows the client to access it.
i put an answer, see if it helps.
It doesn’t need to be a local script. Also, @AlbertoMiAmigo2 I want it to change the sky box between default (no skybox) and Stormy_Sky