UNIVERSAL GUI V1
Key RequiredUniversal

UNIVERSAL GUI V1

Universal ScriptThedemonThedemon 633 views 106 executesUpdated Jan 13, 2026
Unrated
00
Lua Script•86 lines (3167 chars)
local Players = game:GetService("Players")
local Lighting = game:GetService("Lighting")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer

local XraySettings = {
    Enabled = false,
    Brightness = false,
    Transparency = 0.5
}

local function ApplyXray()
    for _, obj in pairs(workspace:GetDescendants()) do
        if obj:IsA("BasePart") and not obj:IsDescendantOf(LocalPlayer.Character) and not obj.Parent:FindFirstChild("Humanoid") then
            if XraySettings.Enabled then
                if not obj:FindFirstChild("OriginalTransparency") then
                    local val = Instance.new("NumberValue", obj)
                    val.Name = "OriginalTransparency"
                    val.Value = obj.Transparency
                end
                obj.Transparency = XraySettings.Transparency
            else
                if obj:FindFirstChild("OriginalTransparency") then
                    obj.Transparency = obj:FindFirstChild("OriginalTransparency").Value
                    obj:FindFirstChild("OriginalTransparency"):Destroy()
                end
            end
        end
    end
end

local function ToggleFullbright()
    if XraySettings.Brightness then
        Lighting.Ambient = Color3.new(1, 1, 1)
        Lighting.ColorShift_Bottom = Color3.new(1, 1, 1)
        Lighting.ColorShift_Top = Color3.new(1, 1, 1)
        Lighting.OutdoorAmbient = Color3.new(1, 1, 1)
        Lighting.Brightness = 2
        Lighting.GlobalShadows = false
        Lighting.FogEnd = 999999
    else
        Lighting.Brightness = 1
        Lighting.GlobalShadows = true
    end
end

local ScreenGui = Instance.new("ScreenGui", LocalPlayer.PlayerGui)
local Main = Instance.new("Frame", ScreenGui)
Main.Size = UDim2.new(0, 180, 0, 150)
Main.Position = UDim2.new(0.1, 0, 0.5, 0)
Main.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Main.Active = true
Main.Draggable = true

local function CreateToggle(text, pos, callback)
    local btn = Instance.new("TextButton", Main)
    btn.Size = UDim2.new(0.9, 0, 0, 40)
    btn.Position = pos
    btn.Text = text
    btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    btn.TextColor3 = Color3.new(1, 1, 1)
    btn.Activated:Connect(function()
        callback(btn)
    end)
end

CreateToggle("X-RAY: OFF", UDim2.new(0.05, 0, 0.1, 0), function(b)
    XraySettings.Enabled = not XraySettings.Enabled
    b.Text = XraySettings.Enabled and "X-RAY: ON" or "X-RAY: OFF"
    b.BackgroundColor3 = XraySettings.Enabled and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(40, 40, 40)
    ApplyXray()
end)

CreateToggle("FULLBRIGHT: OFF", UDim2.new(0.05, 0, 0.5, 0), function(b)
    XraySettings.Brightness = not XraySettings.Brightness
    b.Text = XraySettings.Brightness and "FULLBRIGHT: ON" or "FULLBRIGHT: OFF"
    b.BackgroundColor3 = XraySettings.Brightness and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(40, 40, 40)
    ToggleFullbright()
end)

Lighting:GetPropertyChangedSignal("Ambient"):Connect(ToggleFullbright)
workspace.DescendantAdded:Connect(function(obj)
    if XraySettings.Enabled and obj:IsA("BasePart") then
        obj.Transparency = XraySettings.Transparency
    end
end)

Features & Information

XRAY, FULLBRIGHT
#Universal

Community Comments (7)

Want to collab

Replying to @Andrew_script_maker
ThedemonThedemonJan 13, 2026

@Andrew_script_maker idk

Replying to @Andrew_script_maker
ThedemonThedemonJan 13, 2026

@Andrew_script_maker ok

ThedemonThedemonJan 14, 2026

Ok

ThedemonThedemonJan 14, 2026

@Andrew_script_maker ok but where to write

ThedemonThedemonJan 14, 2026

Bot cmd

pea*1996pea*1996Jan 19, 2026

how to unbban acc in san aurie ?

More Scripts for Universal Scripts