Universal Script 📌
556 Views
72 Executions

UI Element Inspector

Universal Script 📌
skeepl
skeepl10K executions
8 months 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

Search through all UIs visible on your screen and it will show you the full path to the UI element. It will also highlight the UI element and where it appears on your screen. You can copy the path to the UI element and use it for whatever purposes you want!

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local inspectorGui = Instance.new("ScreenGui")
inspectorGui.Name = "UISearch_v2_Final"
inspectorGui.DisplayOrder = 999999
inspectorGui.IgnoreGuiInset = true 
inspectorGui.ResetOnSpawn = false
inspectorGui.Parent = playerGui

local topBar = Instance.new("Frame")
topBar.Size = UDim2.new(1, -20, 0, 40)
topBar.Position = UDim2.new(0, 10, 0, 10)
topBar.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
topBar.BorderSizePixel = 0
topBar.Parent = inspectorGui

local barCorner = Instance.new("UICorner")
barCorner.CornerRadius = UDim.new(0, 6)
barCorner.Parent = topBar

local padding = Instance.new("UIPadding")
padding.PaddingLeft = UDim.new(0, 8)
padding.PaddingRight = UDim.new(0, 8)
padding.Parent = topBar

local layout = Instance.new("UIListLayout")
layout.FillDirection = Enum.FillDirection.Horizontal
layout.HorizontalAlignment = Enum.HorizontalAlignment.Right
layout.VerticalAlignment = Enum.VerticalAlignment.Center
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Padding = UDim.new(0, 6)
layout.Parent = topBar

local function createButton(name, text, size, color, iconId, order)
	local btn = Instance.new("TextButton")
	btn.Name = name


Comments

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

More universal scripts

See all
Universal Script 📌
48.5k
46.5k
Bumped 2 hours ago
Universal Script 📌
1.4k
1.3k
Bumped 5 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 6 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 6 hours ago
Script hub
3.5M
1.2M
Bumped 7 hours ago
Key System
Universal Script 📌
5.0k
92.0k
Bumped 12 hours ago