Universal Script 📌
4.5k Views
507 Executions

LightControl Pro (Beta)

Universal Script 📌
Randomluacoder
RandomluacoderFirst script
2 years 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

Enables FullBright lighting for clear visibility. Adds a light halo around the player. Blocks anti-cheat lighting changes (Lighting Watcher). Movable GUI with toggle buttons. Popup notifications when toggles are used. Supports both mouse and touch input. Automatically reapplies lighting and halo every frame.

View Raw
-- LightControl Pro [Anti-Cheat Toggles]--

local Players = game:GetService("Players")
local Lighting = game:GetService("Lighting")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local CoreGui = game:GetService("CoreGui")

local LocalPlayer = Players.LocalPlayer
local guiName = "LightControlPro" .. tostring(math.random(1000,9999))
if CoreGui:FindFirstChild(guiName) then CoreGui[guiName]:Destroy() end

-- Save original lighting settings to restore later
local originalSettings = {
    Brightness = Lighting.Brightness,
    ClockTime = Lighting.ClockTime,
    Ambient = Lighting.Ambient,
    OutdoorAmbient = Lighting.OutdoorAmbient,
    FogEnd = Lighting.FogEnd,
    GlobalShadows = Lighting.GlobalShadows
}

local settings = {
    fullBright = true,
    lightHalo = true,
    lightingWatcher = true
}

local LightingChangedConn

local function showPopup(text)
    local gui = Instance.new("ScreenGui", CoreGui)
    gui.Name = guiName.."Popup"
    gui.ResetOnSpawn = false

    local frame = Instance.new("Frame", gui)
    frame.AnchorPoint = Vector2.new(1, 0)
    frame.Position = UDim2.new(1, -10, 0, 10)
    frame.Size = UDim2.new(0, 220, 0, 40)
    frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Universal Script 📌
43.5k
1.1M
Bumped 12 minutes ago
Universal Script 📌
16
2
Approved 16 minutes ago
Script hub
166.2k
594.7k
Bumped 33 minutes ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
39
2
Approved 50 minutes ago
Key System
Universal Script 📌
23
3
Approved 53 minutes ago
Script hub
370
1.3k
Bumped 1 hour ago
Key System
Script hub
313.9k
1.2M
Bumped 2 hours ago
Key System