negative effect toggle universal open source
Key RequiredUniversal

negative effect toggle universal open source

Universal Scriptowlguy17owlguy17 253 views 89 executesUpdated Nov 29, 2025
Unrated
00
Lua Script•45 lines (1224 chars)
local Lighting = game:GetService("Lighting")

-- Crear los 2 efectos de ColorCorrection
local invert1 = Instance.new("ColorCorrectionEffect")
invert1.Name = "Invert1"
invert1.Parent = Lighting
invert1.Contrast = -1
invert1.Saturation = 0
invert1.Brightness = 0

local invert2 = Instance.new("ColorCorrectionEffect")
invert2.Name = "Invert2"
invert2.Parent = Lighting
invert2.Contrast = -1
invert2.Saturation = 0
invert2.Brightness = 0

-- Toggle GUI
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local screenGui = Instance.new("ScreenGui")
screenGui.ResetOnSpawn = false   -- <<--- lo que pediste
screenGui.Name = "InvertToggleGUI"
screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")

local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0,50,0,50)
toggleBtn.Position = UDim2.new(0,20,0,20)
toggleBtn.Text = "Toggle Invert"
toggleBtn.Parent = screenGui
toggleBtn.Draggable = true

local enabled = true

toggleBtn.MouseButton1Click:Connect(function()

	-- multiplicar por -1 elimina bugs visuales
	invert1.Contrast = invert1.Contrast * -1
	invert2.Contrast = invert2.Contrast * -1

	enabled = not enabled
	invert1.Enabled = enabled
	invert2.Enabled = enabled
end)

Features & Information

makes the entire world have negative colors and with a toggle button draggable open source MADE WITH CHATGPT
#negative colors#negative#colors

Community Comments (4)

UntrUntrNov 29, 2025

ai

Replying to @Untr
owlguy17owlguy17Nov 29, 2025

@Untr yes but it works

Replying to @owlguy17
UntrUntrNov 29, 2025

@Randomguy1997 ai

owlguy17owlguy17Nov 29, 2025

fixed bugs

More Scripts for Universal Scripts