4zx16

Update Skybox v2.3

Jul 18th, 2021 (edited)
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.77 KB | None | 0 0
  1. --[[
  2.   Made by 4z#0001, Update Skybox v2.3
  3. ]]
  4. local ServerSkyAction = {
  5.     ["UpdateSky"] =  true
  6. }
  7. if ServerSkyAction.UpdateSky == true then
  8.     for i, v in pairs(game.Lighting:GetChildren()) do
  9.         v:Destroy()
  10.     end
  11.     local LightingService = game:GetService("Lighting")
  12.     local SkyBox = Instance.new("Sky",LightingService)
  13.     local Depth = Instance.new("DepthOfFieldEffect",LightingService)
  14.  
  15.     local Blur = Instance.new('BlurEffect',LightingService)
  16.     local Atmosphere = Instance.new("Atmosphere",LightingService)
  17.     local SunRays = Instance.new("SunRaysEffect",LightingService)
  18.  
  19.     local ColorCorrection = Instance.new("ColorCorrectionEffect",LightingService)
  20.     local Bloom = Instance.new("BloomEffect",LightingService)
  21.     local Clouds = Instance.new("Clouds", game.Workspace.Terrain)
  22.     Clouds.Cover = 0.3
  23.     Clouds.Density = 0.2
  24.  
  25.     SkyBox.CelestialBodiesShown = true
  26.     SkyBox.MoonAngularSize = 11
  27.     SkyBox.MoonTextureId = "rbxasset://sky/moon.jpg"
  28.     SkyBox.SkyboxBk = "rbxassetid://591058823"
  29.     SkyBox.SkyboxDn = "rbxassetid://591059876"
  30.     SkyBox.SkyboxFt = "rbxassetid://591058104"
  31.     SkyBox.SkyboxLf = "rbxassetid://591057861"
  32.     SkyBox.SkyboxRt = "rbxassetid://591057625"
  33.     SkyBox.SkyboxUp = "rbxassetid://591059642"
  34.     SkyBox.StarCount = 3000
  35.     SkyBox.SunAngularSize = 21
  36.     SkyBox.SunTextureId = "rbxasset://sky/sun.jpg"
  37.  
  38.     SunRays.Intensity = 0.25
  39.     SunRays.Spread = 0.035
  40.     Blur.Size = 2.5
  41.     ColorCorrection.Saturation = 0.2
  42.  
  43.     LightingService.FogEnd = 4500
  44.     LightingService.OutdoorAmbient = Color3.new(140/255, 140/255, 140/255)
  45.     LightingService.GlobalShadows = true
  46.     LightingService.Brightness = 1.5
  47.     LightingService.Ambient = Color3.new(0/255, 0/255, 0/255)
  48.     LightingService.ShadowColor = Color3.new(61/255, 61/255, 61/255)
  49.  
  50.     Bloom.Intensity = 0.100
  51.     Bloom.Size = 12.5
  52.     Bloom.Threshold = 2.45
  53. end
Add Comment
Please, Sign In to add comment