Run it
Copy the script and paste it into your executor.
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = .Players.LocalPlayer:()
ScreenGui.ResetOnSpawn =
ScreenGui.IgnoreGuiInset =
NightOverlay = .()
NightOverlay.Name =
NightOverlay.Size = .(, , , )
NightOverlay.Position = .(, , , )
NightOverlay.BackgroundColor3 = .(, , )
NightOverlay.BackgroundTransparency =
NightOverlay.BorderSizePixel =
NightOverlay.ZIndex =
NightOverlay.Parent = ScreenGui
LightFilter = .()
LightFilter.Name =
LightFilter.Size = .(, , , )
LightFilter.Position = .(, , , )
LightFilter.BackgroundColor3 = .(, , )
LightFilter.BackgroundTransparency =
LightFilter.BorderSizePixel =
LightFilter.ZIndex =
LightFilter.Parent = ScreenGui
LightFilterGradient = .()
LightFilterGradient.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
})
LightFilterGradient.Parent = LightFilter
ControlPanel = .()
ControlPanel.Name =
ControlPanel.Size = .(, , , )
ControlPanel.Position = .(, -, , )
ControlPanel.BackgroundColor3 = .(, , )
ControlPanel.BorderSizePixel =
ControlPanel.ZIndex =
ControlPanel.Parent = ScreenGui
PanelCorner = .()
PanelCorner.CornerRadius = .(, )
PanelCorner.Parent = ControlPanel
PanelShadow = .()
PanelShadow.Name =
PanelShadow.AnchorPoint = .(, )
PanelShadow.BackgroundTransparency =
PanelShadow.Position = .(, , , )
PanelShadow.Size = .(, , , )
PanelShadow.ZIndex =
PanelShadow.Image =
PanelShadow.ImageColor3 = .(, , )
PanelShadow.ImageTransparency =
PanelShadow.ScaleType = .ScaleType.Slice
PanelShadow.SliceCenter = Rect.(, , , )
PanelShadow.Parent = ControlPanel
TitleBar = .()
TitleBar.Size = .(, , , )
TitleBar.BackgroundColor3 = .(, , )
TitleBar.BorderSizePixel =
TitleBar.ZIndex =
TitleBar.Parent = ControlPanel
TitleCorner = .()
TitleCorner.CornerRadius = .(, )
TitleCorner.Parent = TitleBar
Title = .()
Title.Size = .(, -, , )
Title.Position = .(, , , )
Title.BackgroundTransparency =
Title.Text =
Title.TextColor3 = .(, , )
Title.TextSize =
Title.Font = .Font.GothamBold
Title.TextXAlignment = .TextXAlignment.Left
Title.ZIndex =
Title.Parent = TitleBar
ToggleButton = .()
ToggleButton.Size = .(, , , )
ToggleButton.Position = .(, -, , -)
ToggleButton.BackgroundColor3 = .(, , )
ToggleButton.Text =
ToggleButton.TextColor3 = .(, , )
ToggleButton.TextSize =
ToggleButton.Font = .Font.GothamBold
ToggleButton.ZIndex =
ToggleButton.Parent = TitleBar
ToggleCorner = .()
ToggleCorner.CornerRadius = .(, )
ToggleCorner.Parent = ToggleButton
CloseButton = .()
CloseButton.Size = .(, , , )
CloseButton.Position = .(, -, , -)
CloseButton.BackgroundColor3 = .(, , )
CloseButton.Text =
CloseButton.TextColor3 = .(, , )
CloseButton.TextSize =
CloseButton.Font = .Font.GothamBold
CloseButton.ZIndex =
CloseButton.Parent = TitleBar
CloseCorner = .()
CloseCorner.CornerRadius = .(, )
CloseCorner.Parent = CloseButton
ContentFrame = .()
ContentFrame.Size = .(, -, , -)
ContentFrame.Position = .(, , , )
ContentFrame.BackgroundTransparency =
ContentFrame.ZIndex =
ContentFrame.Parent = ControlPanel
DarknessLabel = .()
DarknessLabel.Size = .(, , , )
DarknessLabel.BackgroundTransparency =
DarknessLabel.Text =
DarknessLabel.TextColor3 = .(, , )
DarknessLabel.TextSize =
DarknessLabel.Font = .Font.GothamSemibold
DarknessLabel.TextXAlignment = .TextXAlignment.Left
DarknessLabel.ZIndex =
DarknessLabel.Parent = ContentFrame
DarknessSliderBg = .()
DarknessSliderBg.Size = .(, , , )
DarknessSliderBg.Position = .(, , , )
DarknessSliderBg.BackgroundColor3 = .(, , )
DarknessSliderBg.BorderSizePixel =
DarknessSliderBg.ZIndex =
DarknessSliderBg.Parent = ContentFrame
DarknessSliderBgCorner = .()
DarknessSliderBgCorner.CornerRadius = .(, )
DarknessSliderBgCorner.Parent = DarknessSliderBg
DarknessSliderFill = .()
DarknessSliderFill.Size = .(, , , )
DarknessSliderFill.BackgroundColor3 = .(, , )
DarknessSliderFill.BorderSizePixel =
DarknessSliderFill.ZIndex =
DarknessSliderFill.Parent = DarknessSliderBg
DarknessSliderFillCorner = .()
DarknessSliderFillCorner.CornerRadius = .(, )
DarknessSliderFillCorner.Parent = DarknessSliderFill
DarknessKnob = .()
DarknessKnob.Size = .(, , , )
DarknessKnob.Position = .(, -, , -)
DarknessKnob.BackgroundColor3 = .(, , )
DarknessKnob.Text =
DarknessKnob.ZIndex =
DarknessKnob.Parent = DarknessSliderBg
DarknessKnobCorner = .()
DarknessKnobCorner.CornerRadius = .(, )
DarknessKnobCorner.Parent = DarknessKnob
FilterLabel = .()
FilterLabel.Size = .(, , , )
FilterLabel.Position = .(, , , )
FilterLabel.BackgroundTransparency =
FilterLabel.Text =
FilterLabel.TextColor3 = .(, , )
FilterLabel.TextSize =
FilterLabel.Font = .Font.GothamSemibold
FilterLabel.TextXAlignment = .TextXAlignment.Left
FilterLabel.ZIndex =
FilterLabel.Parent = ContentFrame
FilterSliderBg = .()
FilterSliderBg.Size = .(, , , )
FilterSliderBg.Position = .(, , , )
FilterSliderBg.BackgroundColor3 = .(, , )
FilterSliderBg.BorderSizePixel =
FilterSliderBg.ZIndex =
FilterSliderBg.Parent = ContentFrame
FilterSliderBgCorner = .()
FilterSliderBgCorner.CornerRadius = .(, )
FilterSliderBgCorner.Parent = FilterSliderBg
FilterSliderFill = .()
FilterSliderFill.Size = .(, , , )
FilterSliderFill.BackgroundColor3 = .(, , )
FilterSliderFill.BorderSizePixel =
FilterSliderFill.ZIndex =
FilterSliderFill.Parent = FilterSliderBg
FilterSliderFillCorner = .()
FilterSliderFillCorner.CornerRadius = .(, )
FilterSliderFillCorner.Parent = FilterSliderFill
FilterFillGradient = .()
FilterFillGradient.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
})
FilterFillGradient.Parent = FilterSliderFill
FilterKnob = .()
FilterKnob.Size = .(, , , )
FilterKnob.Position = .(, -, , -)
FilterKnob.BackgroundColor3 = .(, , )
FilterKnob.Text =
FilterKnob.ZIndex =
FilterKnob.Parent = FilterSliderBg
FilterKnobCorner = .()
FilterKnobCorner.CornerRadius = .(, )
FilterKnobCorner.Parent = FilterKnob
FilterKnobGlow = .()
FilterKnobGlow.BackgroundTransparency =
FilterKnobGlow.Position = .(, -, , -)
FilterKnobGlow.Size = .(, , , )
FilterKnobGlow.Image =
FilterKnobGlow.ImageColor3 = .(, , )
FilterKnobGlow.ImageTransparency =
FilterKnobGlow.ScaleType = .ScaleType.Slice
FilterKnobGlow.SliceCenter = Rect.(, , , )
FilterKnobGlow.ZIndex =
FilterKnobGlow.Parent = FilterKnob
isNightMode =
currentDarkness =
currentFilter =
(value)
value = .(value, , )
currentDarkness = value
isNightMode
NightOverlay.BackgroundTransparency = value
DarknessSliderFill.Size = .( - value, , , )
DarknessKnob.Position = .( - value, -, , -)
percentage = .(( - value) * )
DarknessLabel.Text = .. percentage ..
grayValue = .( + ( - value) * )
DarknessSliderFill.BackgroundColor3 = .(grayValue, grayValue, grayValue)
(value)
value = .(value, , )
currentFilter = value
LightFilter.BackgroundTransparency = - (value * )
FilterSliderFill.Size = .(value, , , )
FilterKnob.Position = .(value, -, , -)
percentage = .(value * )
FilterLabel.Text = .. percentage ..
r =
g = .( - (value * ))
b = .( - (value * ))
FilterKnob.BackgroundColor3 = .(r, g, b)
ToggleButton.MouseButton1Click:(()
isNightMode = isNightMode
isNightMode
ToggleButton.Text =
ToggleButton.BackgroundColor3 = .(, , )
NightOverlay.Visible =
LightFilter.Visible =
(currentDarkness)
(currentFilter)
ToggleButton.Text =
ToggleButton.BackgroundColor3 = .(, , )
NightOverlay.Visible =
LightFilter.Visible =
DarknessLabel.Text =
FilterLabel.Text =
)
UserInputService = :()
draggingDarkness =
DarknessKnob.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
draggingDarkness =
)
DarknessSliderBg.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
pos = .((input.Position.X - DarknessSliderBg.AbsolutePosition.X) / DarknessSliderBg.AbsoluteSize.X, , )
( - pos)
draggingDarkness =
)
draggingFilter =
FilterKnob.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
draggingFilter =
)
FilterSliderBg.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
pos = .((input.Position.X - FilterSliderBg.AbsolutePosition.X) / FilterSliderBg.AbsoluteSize.X, , )
(pos)
draggingFilter =
)
UserInputService.InputChanged:((input)
draggingDarkness (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
pos = .((input.Position.X - DarknessSliderBg.AbsolutePosition.X) / DarknessSliderBg.AbsoluteSize.X, , )
( - pos)
draggingFilter (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
pos = .((input.Position.X - FilterSliderBg.AbsolutePosition.X) / FilterSliderBg.AbsoluteSize.X, , )
(pos)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
draggingDarkness =
draggingFilter =
)
panelDragging =
dragStart =
startPos =
TitleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
panelDragging =
dragStart = input.Position
startPos = ControlPanel.Position
)
UserInputService.InputChanged:((input)
panelDragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
ControlPanel.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
panelDragging =
)
CloseButton.MouseButton1Click:(()
ScreenGui:()
)
()
()
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed input.KeyCode == .KeyCode.N
ToggleButton.MouseButton1Click:()
)

Universal