Universal Script 📌
77 Views
53 Executions

Ambient Hook for Brighter Days

Universal Script 📌
xyvk
xyvk10K executions
4 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

Changes Ambience and bypasses detections Could make nights brigher

View Raw
local EnableAmbience = true
local SpoofColor = Color3.new(1, 1, 1)

local Lighting = game:GetService("Lighting")
	-- Lighting does not need to be clonerefed because: Find out later brah
local Ambience = Lighting.Ambient

local OldIndex
OldIndex = hookmetamethod(game, "__index", newcclosure(function(Object, Property)
    if not EnableAmbience then
        return OldIndex(Object, Property)
    end

    if Object == Lighting and Property == "Ambient" then
        return Ambience
    end

    return OldIndex(Object, Property)
end))

Lighting:GetPropertyChangedSignal("Ambient"):Connect(function()
    local Current = OldIndex(Lighting, "Ambient")

    if Current ~= SpoofColor then
        Ambience = Current
    end
end)

Lighting.Ambient = SpoofColor

-- print(Lighting.Ambient)
	-- Returns the original game value


Comments

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

Tags

More universal scripts

See all
Script hub
29.4k
92.0k
2 weeks ago
Key System

Script hub

#7 this week

Verified script badgeArcane Hub | 125+ Games & 4000+ Features

Script hub
138.0k
417.6k
9 months ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Script hub
3.9M
964.7k
1 year ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 20+ supported Games

Script hub
128
9
2 days ago
Key System
Paid
Script hub
3.0M
14.6M
3 years ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM - MM2, FTF, Forsaken, etc.

Script hub
395
132
2 days ago
Key System