Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local Lighting = game:GetService("Lighting")
local player = Players.LocalPlayer
-- Crear GUI toggle
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "InvertToggleGUI"
screenGui.Parent = player:WaitForChild("PlayerGui")
local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0, 40, 0, 40)
toggleBtn.Position = UDim2.new(0, 20, 0, 50)
toggleBtn.BackgroundColor3 = Color3.fromRGB(50,50,50)
toggleBtn.TextColor3 = Color3.(,,)
toggleBtn.Font = .Font.SourceSansBold
toggleBtn.TextSize =
toggleBtn.Text =
toggleBtn.Active =
toggleBtn.Draggable =
toggleBtn.Parent = screenGui
colorInvert = .()
colorInvert.Name =
colorInvert.Saturation = -
colorInvert.TintColor = .(,,)
colorInvert.Enabled =
colorInvert.Parent = Lighting
inverted =
toggleBtn.MouseButton1Click:(()
inverted = inverted
colorInvert.Enabled = inverted
toggleBtn.Text = inverted
)
Universal