X RAY
Key RequiredUniversal

X RAY

Universal Script4bl4de4bl4de 37.4K views 132 executesUpdated Aug 28, 2023
5.0/ 5(3 votes)
30100% Positive
Lua Script•27 lines (883 chars)
local RunService = game:GetService('RunService')
local LocalPlayer = game:GetService('Players').LocalPlayer
local Camera = workspace.CurrentCamera
local Obscuring = {}

RunService.RenderStepped:connect(function()
    for _, v in pairs(Obscuring) do 
        v.LocalTransparencyModifier = 0
        for _, v2 in pairs(v:GetChildren()) do
            if v2:IsA('Texture') then
                v2.Transparency /= 1000
            end
        end
    end

    if not LocalPlayer.Character then return end
    Obscuring = Camera:GetPartsObscuringTarget({LocalPlayer.Character.HumanoidRootPart.CFrame.p}, LocalPlayer.Character:GetChildren())

    for _, v in pairs(Obscuring) do 
        v.LocalTransparencyModifier = 1
        for _, v2 in pairs(v:GetChildren()) do
            if v2:IsA('Texture') then
                v2.Transparency *= 1000
            end
        end
    end    
end)

Features & Information

X-ray

Community Comments (1)

KomailKomailSep 14, 2025

Bro uses CHATGBT 🙏🙏

More Scripts for Universal Scripts