Universal Script 📌
867 Views
278 Executions

Custom lighting and rain system V2

Universal Script 📌
styear
styear100K executions
8 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Custom lighting that makes your gaming experience better and cooler :)

Updates

  1. Script edited: Update script

View Raw
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local Players = game:GetService("Players")
local Lighting = game:GetService("Lighting")
local Camera = Workspace.CurrentCamera
local LocalPlayer = Players.LocalPlayer
local Terrain = Workspace:FindFirstChildOfClass("Terrain") or Instance.new("Terrain",Workspace)

getgenv().GI_SYSTEM = getgenv().GI_SYSTEM or {}
local GI = getgenv().GI_SYSTEM

for _,v in pairs(Lighting:GetChildren()) do
	if v:IsA("Sky") then v:Destroy() end
end

Lighting.Technology = Enum.Technology.Unified
Lighting.Ambient = Color3.fromRGB(65,61,86)
Lighting.Brightness = 3.6
Lighting.EnvironmentDiffuseScale = 0.1
Lighting.EnvironmentSpecularScale = 1
Lighting.GlobalShadows = true
Lighting.OutdoorAmbient = Color3.fromRGB(160,160,160)
Lighting.ShadowSoftness = 0.5
Lighting.GeographicLatitude = 41.733
Lighting.ExposureCompensation = 0.2
Lighting.FogColor = Color3.fromRGB(192,192,192)
Lighting.FogEnd = 100000
Lighting.ClockTime = 6.5

Terrain.WaterColor = Color3.fromRGB(12,81,89)
Terrain.WaterReflectance = 1
Terrain.WaterTransparency = 0.11
Terrain.WaterWaveSize = 0.45
Terrain.WaterWaveSpeed = 25

local sunrays = Instance.new("SunRaysEffect", Lighting)
sunrays.Intensity = 0.03
sunrays.Spread = 0.128

local atmosphere = Instance.new("Atmosphere", Lighting)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
16.0k
93.4k
Bumped 47 minutes ago
Key System

Script hub

Kronos New

Universal Script 📌
48.5k
46.7k
Bumped 3 hours ago
Universal Script 📌
1.5k
1.3k
Bumped 6 hours ago
Universal Script 📌
4.2k
56.5k
Bumped 7 hours ago
Universal Script 📌
7.1k
71.8k
Bumped 7 hours ago
Script hub
3.5M
1.2M
Bumped 8 hours ago
Key System