Universal Script 📌
29.8k Views
457 Executions

Shaders open source

Universal Script 📌
HaidarEXE
HaidarEXEFirst script
2 years 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

Just some cool lighting and more, I make it for zombie uprising

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Create script

View Raw
local Lighting = game:GetService("Lighting")
local RunService = game:GetService("RunService")
local MaterialService = game:GetService("MaterialService")

-- Force the game to stay in daytime
local function forceDaytime()
    Lighting.ClockTime = 12  -- Set time to 12:00 PM (midday)
    Lighting.GeographicLatitude = 0  -- Adjust for direct sunlight
end

-- Continuously force daytime (to prevent other scripts from changing it)
RunService.Heartbeat:Connect(function()
    forceDaytime()
end)

-- Configure global lighting settings
Lighting.GlobalShadows = true  -- Enable shadows
Lighting.ShadowSoftness = 0.3  -- Softer shadows for better visibility
Lighting.Brightness = 3        -- Increase overall brightness
Lighting.OutdoorAmbient = Color3.new(0.8, 0.8, 0.8)  -- Brighter ambient light
Lighting.Ambient = Color3.new(0.6, 0.6, 0.6)  -- Brighter indoor light

-- Enable realistic lighting technology (ShadowMap or Voxel)
Lighting.Technology = Enum.Technology.ShadowMap  -- Use ShadowMap for realistic shadows

-- Add SunRays for god rays effect (optional)
local sunRays = Instance.new("SunRaysEffect")
sunRays.Parent = Lighting
sunRays.Intensity = 0.2  -- Subtle sun rays
sunRays.Spread = 0.5

-- Add Bloom for glowing effects (optional)
local bloom = Instance.new("BloomEffect")
bloom.Parent = Lighting
bloom.Intensity = 0.3  -- Reduced bloom intensity
bloom.Size = 10

-- Add Atmosphere for a light fog effect (optional)
local atmosphere = Instance.new("Atmosphere")
atmosphere.Parent = Lighting


Comments

1
Log in to join the conversation. Login
10reasonsto10's profile picture
10reasonsto101 year ago

this looks just bad all it does is make everything bright

1

More universal scripts

See all
Script hub
164.5k
562.3k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 3 hours ago
Script hub
247
1.2k
13 hours ago
Key System

Script hub

#9 today

Verified script badgeBlendHub | Easy + Quick

Universal Script 📌
138
79
Approved 5 hours ago
Script hub
150
885
Approved 6 hours ago
Script hub
77
193
Approved 6 hours ago
Universal Script 📌
100
235
Approved 6 hours ago