-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] --[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6aef70e60972b7d93cea8258"))() end) end) --[[rscripts:analytics:end]] -- Services local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") print("--- UI Path Finder Loaded: Click any button in-game to see its path ---") -- Function to recursively generate a complete path string for any UI element local function getFullPath(obj) local path = obj.Name local current = obj.Parent while current and current ~= playerGui and current ~= game do path = current.Name .. "." .. path current = current.Parent end return "PlayerGui." .. path end -- Scan and hook into all existing and future buttons local function monitorButtons(parent) for _, child in ipairs(parent:GetDescendants()) do if child:IsA("GuiButton") then child.MouseButton1Click:Connect(function() print("[Clicked Button Name]: " .. child.Name) print("[Full GUI Path]: " .. getFullPath(child)) print("--------------------------------------------------") end) end end end -- Run initial scan on current UI monitorButtons(playerGui) -- Catch dynamically loaded/opened menus (like inventory popups) playerGui.DescendantAdded:Connect(function(child) if child:IsA("GuiButton") then child.MouseButton1Click:Connect(function() print("[Clicked Button Name]: " .. child.Name) print("[Full GUI Path]: " .. getFullPath(child)) print("--------------------------------------------------") end) end end)