---
title: "X ray | Universal Roblox Script - ScriptBlox"
description: "X ray for any Roblox game: X ray vision that makes u be able to see players behind the walls and objects this script helps alot in hide and seek games!"
canonical_url: "https://scriptblox.com/script/Universal-Script-X-ray-16411"
meta:
  "og:description": "X ray for any Roblox game: X ray vision that makes u be able to see players behind the walls and objects this script helps alot in hide and seek games!"
  "og:image": "https://scriptblox.com/images/script/8659493-1722361237286.png"
  "og:title": "X ray | Universal Roblox Script - ScriptBlox"
  "twitter:description": "X ray for any Roblox game: X ray vision that makes u be able to see players behind the walls and objects this script helps alot in hide and seek games!"
  "twitter:image": "https://scriptblox.com/images/script/8659493-1722361237286.png"
  "twitter:title": "X ray | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/8659493-1722361237286.png)

# **X ray**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![FrostYt](https://scriptblox.com/images/photo/65adabafcbb7f257eaf0e7b1-1722464510389.jpeg) [FrostYt](https://scriptblox.com/u/FrostYt)**

2 years ago

[**Get an executor**](https://scriptblox.com/executors?kind=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

X ray vision that makes u be able to see players behind the walls and objects this script helps alot in hide and seek games!

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Universal-Script-X-ray-16411)

```
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = PlayerGui

-- Create Frame
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 150)
frame.Position = UDim2.new(0.5, -100, 0.5, -75)
frame.BackgroundTransparency = 0.5
frame.BackgroundColor3 = Color3.new(0, 0, 0)
frame.Draggable = true
frame.Active = true
frame.Visible = false -- Initially hidden
frame.Parent = screenGui

-- Create X-Ray Button
local xrayButton = Instance.new("TextButton")
xrayButton.Size = UDim2.new(0, 180, 0, 50)
xrayButton.Position = UDim2.new(0, 10, 0, 25)
xrayButton.BackgroundColor3 = Color3.new(1, 0, 0)
xrayButton.Text = "Enable X-Ray"
xrayButton.Parent = frame

-- Create Disable X-Ray Button
local disableXrayButton = Instance.new("TextButton")
disableXrayButton.Size = UDim2.new(0, 180, 0, 50)
disableXrayButton.Position = UDim2.new(0, 10, 0, 85)
disableXrayButton.BackgroundColor3 = Color3.new(0, 1, 0)
disableXrayButton.Text = "Disable X-Ray"
disableXrayButton.Parent = frame

-- Create Open/Close Button
local toggleGuiButton = Instance.new("TextButton")
toggleGuiButton.Size = UDim2.new(0, 100, 0, 50)
toggleGuiButton.Position = UDim2.new(0, 10, 0, 10)
toggleGuiButton.BackgroundColor3 = Color3.new(0, 1, 0)


```

## **Comments **

**5**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-X-ray-16411)

![lorax's profile picture](https://scriptblox.com/images/photo/64d671305b5c3993bf2e4371-1722557010662.jpg)

[**lorax**](https://scriptblox.com/u/lorax)2 years ago(edited)

hey thats me in the thumbnail, W thumbnail fr

2

![KaGa999's profile picture](https://scriptblox.com/images/photo/65a3ceede1ae033856d7d99f-1721007249501.jpg)

[**KaGa999**](https://scriptblox.com/u/KaGa999)2 years ago(edited)

Yo

2

![pomirkomukuta342's profile picture](https://scriptblox.com/images/user-default.webp)

[**pomirkomukuta342**](https://scriptblox.com/u/pomirkomukuta342)2 years ago(edited)

BRO I SAW YOU 5 MIN AGO IF I CAN TAKE THIS GUY ON THUMBNAIL CUZ HE GOT COOL OUTFIT BRO I SAW U ASKING HIM

2

![exzy's profile picture](https://scriptblox.com/images/photo/65c6b26d94bada8a7e74fb61-1721272162993.jpg)

[**exzy**](https://scriptblox.com/u/exzy)2 years ago(edited)

just use esp..

1

![FrostYt's profile picture](https://scriptblox.com/images/photo/65adabafcbb7f257eaf0e7b1-1722464510389.jpeg)

[**FrostYt**](https://scriptblox.com/u/FrostYt)**Uploader**2 years ago(edited)

YES IT WAS ME

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-X-ray-16411#script","url":"https://scriptblox.com/script/Universal-Script-X-ray-16411","name":"X ray","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"FrostYt","url":"https://scriptblox.com/u/FrostYt"},"datePublished":"2024-07-30T17:40:37.365Z","image":"https://scriptblox.com/images/script/8659493-1722361237286.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-X-ray-16411#webpage","@type":"WebPage","description":"X ray for any Roblox game: X ray vision that makes u be able to see players behind the walls and objects this script helps alot in hide and seek games!","name":"X ray | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-X-ray-16411","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-X-ray-16411#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-X-ray-16411#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-X-ray-16411"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-X-ray-16411#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"X ray","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
