Universal Script 📌
266 Views
114 Executions

negative effect toggle universal open source

Universal Script 📌
owlguy17
owlguy17Published 5
1 year 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
owlguy17Uploader1 year ago

fixed bugs

1
Untr's profile picture
Untr1 year ago

ai

1
owlguy17's profile picture
owlguy17Uploader1 year ago

@Untr yes but it works

1
Untr's profile picture
Untr1 year ago

@Randomguy1997 ai

1

Tags

More universal scripts

See all
Script hub
2.0M
627.3k
Bumped 1 hour ago
Key System
Script hub
202.4k
2.3M
Bumped 3 hours ago
Key System

Script hub

#20 this week

Verified script badgeAirflow HUB

Universal Script 📌
57.4k
270.8k
Bumped 5 hours ago
Key System
Script hub
2.2M
2.5M
Bumped 8 hours ago
Key System
Universal Script 📌
33.4k
481.4k
Bumped 8 hours ago
Script hub
4.0M
2.7M
Bumped 8 hours ago

Script hub

Hall of Fame #5

KeylessVerified script badge[KEYLESS] Moondiety Script | 30+ supported Games