0% found this document useful (0 votes)
42 views3 pages

Full Bright

Full Bright Lua Roblox

Uploaded by

Hưng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views3 pages

Full Bright

Full Bright Lua Roblox

Uploaded by

Hưng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

keybbb = game.Players.

LocalPlayer:GetMouse()
keybbb.KeyDown:Connect(function(key)
if key == "e" then
if not _G.FullBrightExecuted then

_G.FullBrightEnabled = false

_G.NormalLightingSettings = {
Brightness = game:GetService("Lighting").Brightness,
ClockTime = game:GetService("Lighting").ClockTime,
FogEnd = game:GetService("Lighting").FogEnd,
GlobalShadows = game:GetService("Lighting").GlobalShadows,
Ambient = game:GetService("Lighting").Ambient
}

game:GetService("Lighting"):GetPropertyChangedSignal("Brightness"):Connect(function
()
if game:GetService("Lighting").Brightness ~= 1 and
game:GetService("Lighting").Brightness ~= _G.NormalLightingSettings.Brightness then
_G.NormalLightingSettings.Brightness =
game:GetService("Lighting").Brightness
if not _G.FullBrightEnabled then
repeat
wait()
until _G.FullBrightEnabled
end
game:GetService("Lighting").Brightness = 1
end
end)

game:GetService("Lighting"):GetPropertyChangedSignal("ClockTime"):Connect(function(
)
if game:GetService("Lighting").ClockTime ~= 12 and
game:GetService("Lighting").ClockTime ~= _G.NormalLightingSettings.ClockTime then
_G.NormalLightingSettings.ClockTime =
game:GetService("Lighting").ClockTime
if not _G.FullBrightEnabled then
repeat
wait()
until _G.FullBrightEnabled
end
game:GetService("Lighting").ClockTime = 12
end
end)

game:GetService("Lighting"):GetPropertyChangedSignal("FogEnd"):Connect(function()
if game:GetService("Lighting").FogEnd ~= 786543 and
game:GetService("Lighting").FogEnd ~= _G.NormalLightingSettings.FogEnd then
_G.NormalLightingSettings.FogEnd =
game:GetService("Lighting").FogEnd
if not _G.FullBrightEnabled then
repeat
wait()
until _G.FullBrightEnabled
end
game:GetService("Lighting").FogEnd = 786543
end
end)

game:GetService("Lighting"):GetPropertyChangedSignal("GlobalShadows"):Connect(funct
ion()
if game:GetService("Lighting").GlobalShadows ~= false and
game:GetService("Lighting").GlobalShadows ~=
_G.NormalLightingSettings.GlobalShadows then
_G.NormalLightingSettings.GlobalShadows =
game:GetService("Lighting").GlobalShadows
if not _G.FullBrightEnabled then
repeat
wait()
until _G.FullBrightEnabled
end
game:GetService("Lighting").GlobalShadows = false
end
end)

game:GetService("Lighting"):GetPropertyChangedSignal("Ambient"):Connect(function()
if game:GetService("Lighting").Ambient ~= Color3.fromRGB(178, 178, 178)
and game:GetService("Lighting").Ambient ~= _G.NormalLightingSettings.Ambient then
_G.NormalLightingSettings.Ambient =
game:GetService("Lighting").Ambient
if not _G.FullBrightEnabled then
repeat
wait()
until _G.FullBrightEnabled
end
game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178,
178)
end
end)

game:GetService("Lighting").Brightness = 1
game:GetService("Lighting").ClockTime = 12
game:GetService("Lighting").FogEnd = 786543
game:GetService("Lighting").GlobalShadows = false
game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)

local LatestValue = true


spawn(function()
repeat
wait()
until _G.FullBrightEnabled
while wait() do
if _G.FullBrightEnabled ~= LatestValue then
if not _G.FullBrightEnabled then
game:GetService("Lighting").Brightness =
_G.NormalLightingSettings.Brightness
game:GetService("Lighting").ClockTime =
_G.NormalLightingSettings.ClockTime
game:GetService("Lighting").FogEnd =
_G.NormalLightingSettings.FogEnd
game:GetService("Lighting").GlobalShadows =
_G.NormalLightingSettings.GlobalShadows
game:GetService("Lighting").Ambient =
_G.NormalLightingSettings.Ambient
else
game:GetService("Lighting").Brightness = 1
game:GetService("Lighting").ClockTime = 12
game:GetService("Lighting").FogEnd = 786543
game:GetService("Lighting").GlobalShadows = false
game:GetService("Lighting").Ambient =
Color3.fromRGB(178, 178, 178)
end
LatestValue = not LatestValue
end
end
end)
end

_G.FullBrightExecuted = true
_G.FullBrightEnabled = not _G.FullBrightEnabled
end
end)

You might also like