Advertisement
ac24588

Alex's RTX Lighting

Aug 9th, 2022
940
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.07 KB | None | 0 0
  1. print('Loading Alex's RTX Lighting')
  2.  
  3.  
  4. game.Players.PlayerAdded:Connect(function(plr)
  5.     wait()
  6.     local SunFX = script.LensFlareGui:Clone()
  7.     SunFX.Parent = plr.PlayerGui
  8. end)
  9.  
  10.  
  11.  
  12. print('lighting had loaded.')
  13.  
  14. wait(1)
  15. print('Made by yours truely Alex!')
  16.  
  17. Lighting = game:GetService("Lighting")
  18.  
  19. wait(0.1)
  20.  
  21. Lighting.Brightness = 3
  22. Lighting.ExposureCompensation = 0
  23. Lighting.ClockTime = 14.5
  24. Lighting.GeographicLatitude = 0
  25. Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  26. Lighting.ColorShift_Bottom = Color3.new(0, 0, 0)
  27. Lighting.GlobalShadows = true
  28.  
  29. Lighting.ShadowSoftness = 0.2
  30. Lighting.OutdoorAmbient = Color3.new(0.27451, 0.27451, 0.27451)
  31. Lighting.Ambient = Color3.new(0.27451, 0.27451, 0.27451)
  32.  
  33. Lighting.EnvironmentSpecularScale = 1
  34. Lighting.EnvironmentDiffuseScale = 0
  35. Lighting.FogEnd = 600
  36. Lighting.FogStart = 0
  37. Lighting.FogColor = Color3.new(0.572549, 0.603922, 0.647059)
  38.  
  39. workspace.Terrain.WaterTransparency = 0.4
  40. workspace.Terrain.WaterReflectance = 1
  41.  
  42. ColorCorret = Instance.new("ColorCorrectionEffect")
  43. ColorCorret.Parent = game.Lighting
  44. ColorCorret.Brightness = 0
  45. ColorCorret.Contrast = 0.2
  46. ColorCorret.Enabled = true
  47. ColorCorret.Saturation = -0.1
  48. ColorCorret.TintColor = Color3.new(0.952941, 1, 1)
  49. ColorCorret.Name = "ColorCorrection"
  50.  
  51. depth = Instance.new("DepthOfFieldEffect")
  52. depth.Parent = game.Lighting
  53. depth.FarIntensity = 0.2
  54. depth.FocusDistance = 3.712
  55. depth.Enabled = true
  56. depth.InFocusRadius = 10
  57. depth.NearIntensity =0
  58. depth.Name = "DepthOfField"
  59.  
  60. sun = Instance.new("SunRaysEffect")
  61. sun.Parent = game.Lighting
  62. sun.Intensity = 0.2
  63. sun.Spread = 1
  64. sun.Enabled = true
  65. sun.Name = "SunRays"
  66.  
  67. scar = Instance.new("ColorCorrectionEffect")
  68. scar.Parent = game.Lighting
  69. scar.Brightness = 0
  70. scar.Contrast = 0.141
  71. scar.Enabled = true
  72. scar.Saturation = -0.282
  73. scar.TintColor = Color3.new(1, 1, 1)
  74. scar.Name = "Scary"
  75.  
  76. vhs = Instance.new("ColorCorrectionEffect")
  77. vhs.Parent = game.Lighting
  78. vhs.Brightness = 0
  79. vhs.Contrast = 0.25
  80. vhs.Enabled = true
  81. vhs.Saturation = -0.5
  82. vhs.TintColor = Color3.new(1, 1, 1)
  83. vhs.Name = "vhs"
  84.  
  85. safe = Instance.new("ColorCorrectionEffect")
  86. safe.Parent = game.Lighting
  87. safe.Brightness = 0
  88. safe.Contrast = 0
  89. safe.Enabled = true
  90. safe.Saturation = 1
  91. safe.TintColor = Color3.new(1, 1, 1)
  92. safe.Name = "safe"
  93.  
  94. dam = Instance.new("ColorCorrectionEffect")
  95. dam.Parent = game.Lighting
  96. dam.Brightness = 0
  97. dam.Contrast = 0
  98. dam.Enabled = true
  99. dam.Saturation = 0
  100. dam.TintColor = Color3.new(1, 1, 1)
  101. dam.Name = "damage"
  102.  
  103. sky = Instance.new("Sky")
  104. sky.Parent = game.Lighting
  105. sky.CelestialBodiesShown = true
  106. sky.MoonAngularSize = 11
  107. sky.StarCount = 3000
  108. sky.SunAngularSize = 11
  109. sky.SunTextureId = "rbxasset://6196665106"
  110. sky.MoonTextureId = "rbxasset://6444320592"
  111. sky.SkyboxBk = "rbxassetid://6444884337"
  112. sky.SkyboxDn = "rbxassetid://6444884785"
  113. sky.SkyboxFt = "rbxassetid://6444884337"
  114. sky.SkyboxLf = "rbxassetid://6444884337"
  115. sky.SkyboxRt = "rbxassetid://6444884337"
  116. sky.SkyboxUp = "rbxassetid://6412503613"
  117.  
  118. atmo = Instance.new("Atmosphere")
  119. atmo.Parent = game.Lighting
  120. atmo.Density = 0.265
  121. atmo.Offset = 0.306
  122. atmo.Archivable = true
  123. atmo.Color = Color3.new(0.780392, 0.780392, 0.780392)
  124. atmo.Decay = Color3.new(0.415686, 0.439216, 0.490196)
  125. atmo.Glare = 0
  126. atmo.Haze = 0
  127.  
  128. Blur = Instance.new("BlurEffect")
  129. Blur.Parent = game.Lighting
  130. Blur.Size = 25
  131. wait(0.1)
  132. Blur.Size = 24
  133. wait(0.1)
  134. Blur.Size = 23
  135. wait(0.1)
  136. Blur.Size = 22
  137. wait(0.1)
  138. Blur.Size = 21
  139. wait(0.1)
  140. Blur.Size = 20
  141. wait(0.1)
  142. Blur.Size = 19
  143. wait(0.1)
  144. Blur.Size = 18
  145. wait(0.1)
  146. Blur.Size = 17
  147. wait(0.1)
  148. Blur.Size = 16
  149. wait(0.1)
  150. Blur.Size = 15
  151. wait(0.1)
  152. Blur.Size = 14
  153. wait(0.1)
  154. Blur.Size = 13
  155. wait(0.1)
  156. Blur.Size = 12
  157. wait(0.1)
  158. Blur.Size = 11
  159. wait(0.1)
  160. Blur.Size = 10
  161. wait(0.1)
  162. Blur.Size = 9
  163. wait(0.1)
  164. Blur.Size = 8
  165. wait(0.1)
  166. Blur.Size = 7
  167. wait(0.1)
  168. Blur.Size = 6
  169. wait(0.1)
  170. Blur.Size = 5
  171. wait(0.1)
  172. Blur.Size = 4
  173. wait(0.1)
  174. Blur.Size = 3
  175. wait(0.1)
  176. Blur.Size = 2
  177. wait(0.1)
  178. Blur.Size = 1
  179. wait(0.1)
  180. Blur.Size = 0
  181.  
  182.  
  183.  
  184.  
  185. print('Loading.Bloom')
  186. wait(2)
  187. print('SunRay, Blur etc.')
  188. wait(2)
  189. print("Complete")
  190.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement