Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
SoundService = :()
Lighting = :()
RunService = :()
player = Players.LocalPlayer
playerGui = player:()
START_SOUND_ID =
BUTTON_SOUND_ID =
(soundId)
sound = .()
sound.SoundId = .. soundId
sound.Parent = SoundService
sound:()
sound.Ended:(()
sound:()
)
(START_SOUND_ID)
originalLighting = {
ClockTime = Lighting.ClockTime,
Brightness = Lighting.Brightness,
Ambient = Lighting.Ambient,
OutdoorAmbient = Lighting.OutdoorAmbient,
ColorShift_Top = Lighting.ColorShift_Top,
ColorShift_Bottom = Lighting.ColorShift_Bottom,
FogColor = Lighting.FogColor,
FogStart = Lighting.FogStart,
FogEnd = Lighting.FogEnd,
GlobalShadows = Lighting.GlobalShadows,
ShadowSoftness = Lighting.ShadowSoftness,
Technology = Lighting.Technology,
EnvironmentDiffuseScale = Lighting.EnvironmentDiffuseScale,
EnvironmentSpecularScale = Lighting.EnvironmentSpecularScale
}
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
screenGui.Parent = playerGui
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, , , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.BackgroundTransparency =
mainFrame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = mainFrame
border = .()
border.Color = .(, , )
border.Thickness =
border.Parent = mainFrame
title = .()
title.Name =
title.Size = .(, , , )
title.Position = .(, , , )
title.BackgroundColor3 = .(, , )
title.TextColor3 = .(, , )
title.Text =
title.Font = .Font.GothamBold
title.TextSize =
title.Parent = mainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = title
controlContainer = .()
controlContainer.Name =
controlContainer.Size = .(, -, , )
controlContainer.Position = .(, , , -)
controlContainer.BackgroundTransparency =
controlContainer.Parent = mainFrame
controlLayout = .()
controlLayout.CellSize = .(, -, , )
controlLayout.CellPadding = .(, , , )
controlLayout.HorizontalAlignment = .HorizontalAlignment.Center
controlLayout.Parent = controlContainer
toggleButton = .()
toggleButton.Name =
toggleButton.Size = .(, , , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
toggleButton.Text =
toggleButton.Font = .Font.Gotham
toggleButton.TextSize =
toggleButton.Parent = controlContainer
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleButton
pinButton = .()
pinButton.Name =
pinButton.Size = .(, , , )
pinButton.BackgroundColor3 = .(, , )
pinButton.TextColor3 = .(, , )
pinButton.Text =
pinButton.Font = .Font.Gotham
pinButton.TextSize =
pinButton.Parent = controlContainer
pinCorner = .()
pinCorner.CornerRadius = .(, )
pinCorner.Parent = pinButton
buttonContainer = .()
buttonContainer.Name =
buttonContainer.Size = .(, -, , -)
buttonContainer.Position = .(, , , )
buttonContainer.BackgroundTransparency =
buttonContainer.Visible =
buttonContainer.Parent = mainFrame
layout = .()
layout.Padding = .(, )
layout.HorizontalAlignment = .HorizontalAlignment.Center
layout.VerticalAlignment = .VerticalAlignment.Top
layout.Parent = buttonContainer
(text, color)
button = .()
button.Name = text ..
button.Size = .(, , , )
button.BackgroundColor3 = color
button.TextColor3 = .(, , )
button.Text = text
button.Font = .Font.Gotham
button.TextSize =
button.AutoButtonColor =
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = button
button
nightButton = (, .(, , ))
nightButton.Parent = buttonContainer
sunsetButton = (, .(, , ))
sunsetButton.Parent = buttonContainer
nightVisionButton = (, .(, , ))
nightVisionButton.Parent = buttonContainer
monochromeButton = (, .(, , ))
monochromeButton.Parent = buttonContainer
resetButton = (, .(, , ))
resetButton.Parent = buttonContainer
statusLabel = .()
statusLabel.Name =
statusLabel.Size = .(, -, , )
statusLabel.Position = .(, , , -)
statusLabel.BackgroundTransparency =
statusLabel.TextColor3 = .(, , )
statusLabel.Text =
statusLabel.Font = .Font.Gotham
statusLabel.TextSize =
statusLabel.TextXAlignment = .TextXAlignment.Left
statusLabel.Parent = mainFrame
isGUIPinned =
()
isGUIPinned = isGUIPinned
isGUIPinned
pinButton.Text =
pinButton.BackgroundColor3 = .(, , )
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
pinButton.Text =
pinButton.BackgroundColor3 = .(, , )
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
, isGUIPinned
()
Lighting.ClockTime =
Lighting.Brightness =
Lighting.Ambient = .(, , )
Lighting.OutdoorAmbient = .(, , )
Lighting.ColorShift_Top = .(, , )
Lighting.ColorShift_Bottom = .(, , )
Lighting.FogColor = .(, , )
Lighting.FogStart =
Lighting.FogEnd =
Lighting.GlobalShadows =
Lighting.ShadowSoftness =
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
()
Lighting.ClockTime =
Lighting.Brightness =
Lighting.Ambient = .(, , )
Lighting.OutdoorAmbient = .(, , )
Lighting.ColorShift_Top = .(, , )
Lighting.ColorShift_Bottom = .(, , )
Lighting.FogColor = .(, , )
Lighting.FogStart =
Lighting.FogEnd =
Lighting.GlobalShadows =
Lighting.ShadowSoftness =
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
()
Lighting.Brightness =
Lighting.Ambient = .(, , )
Lighting.OutdoorAmbient = .(, , )
Lighting.ColorShift_Top = .(, , )
Lighting.ColorShift_Bottom = .(, , )
Lighting.FogColor = .(, , )
Lighting.FogStart =
Lighting.FogEnd =
Lighting.GlobalShadows =
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
monochromeEffectActive =
originalColorCorrection =
currentColorCorrection =
()
currentColorCorrection
currentColorCorrection:()
currentColorCorrection = .()
currentColorCorrection.Name =
currentColorCorrection.Parent = Lighting
currentColorCorrection.Brightness =
currentColorCorrection.Contrast =
currentColorCorrection.Saturation = -
currentColorCorrection.TintColor = .(, , )
Lighting.Ambient = .(, , )
Lighting.OutdoorAmbient = .(, , )
Lighting.ColorShift_Top = .(, , )
Lighting.ColorShift_Bottom = .(, , )
Lighting.Brightness =
Lighting.FogColor = .(, , )
monochromeEffectActive =
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
()
property, value (originalLighting)
Lighting[property] = value
currentColorCorrection
currentColorCorrection:()
currentColorCorrection =
monochromeEffectActive =
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
nightButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
monochromeEffectActive
()
()
)
sunsetButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
monochromeEffectActive
()
()
)
nightVisionButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
monochromeEffectActive
()
()
)
monochromeButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
()
)
resetButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
()
)
pinButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
success, message = ()
statusLabel.Text = message
statusLabel.TextColor3 = .(, , )
)
toggleButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
buttonContainer.Visible
buttonContainer.Visible =
mainFrame.Size = .(, , , )
toggleButton.Text =
statusLabel.Text =
buttonContainer.Visible =
mainFrame.Size = .(, , , )
toggleButton.Text =
statusLabel.Text = isGUIPinned
)
dragging =
dragStart, startPos
(input)
isGUIPinned
dragging =
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
(input)
dragging isGUIPinned
delta = input.Position - dragStart
mainFrame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
title.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
(input)
)
title.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
(input)
)
title.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
(input)
)
title.InputChanged:((input)
input.UserInputType == .UserInputType.Touch
(input)
)
:().PlayerRemoving:((leavingPlayer)
leavingPlayer == player
()
)
statusLabel.Text = "This shader script features dynamic lighting and shadow enhancement, with a built-in night mode toggle."