-- [[ 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=6aef7098aff62db247c5b888"))() end) end) --[[rscripts:analytics:end]] -- LocalScript (Place in StarterPlayerScripts or StarterGui) local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") -- GUI Setup local screenGui = Instance.new("ScreenGui") screenGui.Name = "NearbyScannerGui" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 320, 0, 380) mainFrame.Position = UDim2.new(0.05, 0, 0.2, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 42) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = mainFrame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 40) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.Text = "Nearby Objects & Players" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextSize = 16 title.Parent = mainFrame local scrollingFrame = Instance.new("ScrollingFrame") scrollingFrame.Size = UDim2.new(1, -16, 1, -60) scrollingFrame.Position = UDim2.new(0, 8, 0, 50) scrollingFrame.BackgroundTransparency = 1 scrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) scrollingFrame.ScrollBarThickness = 6 scrollingFrame.Parent = mainFrame local listLayout = Instance.new("UIListLayout") listLayout.Padding = UDim.new(0, 4) listLayout.Parent = scrollingFrame local SCAN_RADIUS = 50 -- Studs radius to check around you local function clearList() for _, child in ipairs(scrollingFrame:GetChildren()) do if child:IsA("Frame") then child:Destroy() end end end local function addEntry(name, distance, color) local entry = Instance.new("Frame") entry.Size = UDim2.new(1, 0, 0, 30) entry.BackgroundColor3 = Color3.fromRGB(45, 45, 55) entry.BorderSizePixel = inv and 0 or 0 local eCorner = Instance.new("UICorner") eCorner.CornerRadius = UDim.new(0, 4) eCorner.Parent = entry local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(0.7, 0, 1, 0) nameLabel.Position = UDim2.new(0, 8, 0, 0) nameLabel.BackgroundTransparency = 1 nameLabel.Font = Enum.Font.Gotham nameLabel.Text = name nameLabel.TextColor3 = color nameLabel.TextSize = 13 nameLabel.TextXAlignment = Enum.TextXAlignment.Left nameLabel.Parent = entry local distLabel = Instance.new("TextLabel") distLabel.Size = UDim2.new(0.3, -8, 1, 0) distLabel.Position = UDim2.new(0.7, 0, 0, 0) distLabel.BackgroundTransparency = 1 distLabel.Font = Enum.Font.GothamMedium distLabel.Text = math.floor(distance) .. " studs" distLabel.TextColor3 = Color3.fromRGB(180, 180, 180) distLabel.TextSize = 13 distLabel.TextXAlignment = Enum.TextXAlignment.Right distLabel.Parent = entry entry.Parent = scrollingFrame end -- Update loop every 0.5 seconds to prevent lag task.spawn(function() while true do task.wait(0.5) if character and humanoidRootPart then clearList() local currentPos = humanoidRootPart.Position -- Check for nearby players first for _, p in ipairs(Players:GetPlayers()) do if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local targetPart = p.Character.HumanoidRootPart local distance = (targetPart.Position - currentPos).Magnitude if distance <= SCAN_RADIUS then addEntry("[Player] " .. p.Name, distance, Color3.fromRGB(88, 101, 242)) end end end -- Check for parts/models in Workspace folders (e.g., items, drops) for _, obj in ipairs(Workspace:GetChildren()) do if obj:IsA("BasePart") then local distance = (obj.Position - currentPos).Magnitude if distance <= SCAN_RADIUS and obj ~= humanoidRootPart then addEntry(obj.Name, distance, Color3.fromRGB(46, 204, 113)) end end end scrollingFrame.CanvasSize = UDim2.new(0, 0, 0, listLayout.AbsoluteContentSize.Y) end end end)