-- not working --

script.Parent = nil
ClockTime = true
GeographicLatitude = true
FogColor = true
Color = 206,255,252
DynamicLighting = true
SimulatedShadows = true
DarkAmbient = false
AmbientBrightness = 1  
Fog = true
FogDistance = 3000

if Fog then
	game.Lighting.FogEnd = FogDistance
end

if DarkAmbient and DynamicLighting then
game.Lighting.OutdoorAmbient = Color3.new(AmbientBrightness/255, AmbientBrightness/255, AmbientBrightness/255)
end

if DynamicLighting then
	game.Lighting.GlobalShadows = true
	if SimulatedShadows then
		game.Lighting.Brightness = 1
		game.Lighting.Ambient = Color3.new(0/255, 0/255, 0/255)
		game.Lighting.ShadowColor = Color3.new(61/255, 61/255, 61/255)
	end

if FogColor then
	game.Lighting.FogColor = FogColor
end

if Color then
    game.Lighting.FogColor = Color 
end

if GeographicLatitude then
	game.Lighting.GeographicLatitude = 51
end

if ClockTime then
	game.Lighting.ClockTime = 12
end
