Universal Script 📌
263 Views
102 Executions

negative effect toggle universal open source

Universal Script 📌
owlguy17
owlguy17Published 5
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

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

Updates

  1. Script edited: Update script

  2. Script edited: Update script

View Raw
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


Comments

4
Log in to join the conversation. Login
owlguy17's profile picture
owlguy17Uploader11 months ago

fixed bugs

1
Untr's profile picture
Untr11 months ago

ai

1
owlguy17's profile picture
owlguy17Uploader11 months ago

@Untr yes but it works

1
Untr's profile picture
Untr11 months ago

@Randomguy1997 ai

1

Tags

More universal scripts

See all
Script hub
157.9k
496.6k
Bumped 4 minutes ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Universal Script 📌
597.6k
4.2M
Bumped 1 hour ago
Script hub
50.8k
320.4k
Bumped 3 hours ago

Script hub

Nameless Admin

Script hub
176.8k
1.6M
Bumped 4 hours ago
Key System
Script hub
46.7k
11.6k
Bumped 6 hours ago
Key System
Paid