Description
a simple fullbright script.
execute it again to turn off
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(function()
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