Files
Roblox-Elevator-Game/src/server/Studio/Lighting/Sky.lua

53 lines
1.2 KiB
Lua

--!optimize 2
--!native
--!strict
local function Sky(): Sky
local SkyBox = Instance.new("Sky")
SkyBox.MoonAngularSize = 8
SkyBox.MoonTextureId = "rbxassetid://62326944"
SkyBox.SkyboxBk = "rbxassetid://9544505500"
SkyBox.SkyboxDn = "rbxassetid://9544547905"
SkyBox.SkyboxFt = "rbxassetid://9544504852"
SkyBox.SkyboxLf = "rbxassetid://9544547694"
SkyBox.SkyboxRt = "rbxassetid://9544547542"
SkyBox.SkyboxUp = "rbxassetid://9544547398"
SkyBox.SunTextureId = "rbxassetid://5392574622"
SkyBox.StarCount = 200
SkyBox.SunAngularSize = 9
return SkyBox
end
local function Atmosphere(): Atmosphere
local Atmosp = Instance.new("Atmosphere")
Atmosp.Density = .25
Atmosp.Offset = 0
Atmosp.Color = Color3.fromRGB(199, 199, 199)
Atmosp.Decay = Color3.fromRGB(106, 112, 125)
return Atmosp
end
local function Clouds(): Clouds
local _Clouds = Instance.new("Clouds")
_Clouds.Cover = .7
_Clouds.Density = .15
_Clouds.Color = Color3.fromRGB(180,180,180)
return _Clouds
end
export type exports = {
Sky: () -> Sky,
Atmosphere: () -> Atmosphere,
Clouds: () -> Clouds,
}
local export: exports = {
Sky = Sky,
Atmosphere = Atmosphere,
Clouds = Clouds
}
return export