-- Services local Players = game:GetService("Players") local Lighting = game:GetService("Lighting") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer -- Clean up any old GUI or tools if LocalPlayer.PlayerGui:FindFirstChild("ToolMenuGui") then LocalPlayer.PlayerGui["ToolMenuGui"]:Destroy() end if LocalPlayer.PlayerGui:FindFirstChild("PlayerSpyGui") then LocalPlayer.PlayerGui["PlayerSpyGui"]:Destroy() end for _, oldName in ipairs({"Spying Tool", "PlayerSpyTool"}) do if LocalPlayer.Backpack:FindFirstChild(oldName) then LocalPlayer.Backpack[oldName]:Destroy() end if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild(oldName) then LocalPlayer.Character[oldName]:Destroy() end end --------------------------------------------------------- -- UNIFIED GUI MENU (Fixed Toolbar at Top-Right) --------------------------------------------------------- local menuGui = Instance.new("ScreenGui") menuGui.Name = "ToolMenuGui" menuGui.ResetOnSpawn = false menuGui.IgnoreGuiInset = true menuGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local menuFrame = Instance.new("Frame") menuFrame.Size = UDim2.new(0, 390, 0, 45) menuFrame.Position = UDim2.new(0, 310, 0, 5) menuFrame.BackgroundTransparency = 0.3 menuFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) menuFrame.BorderSizePixel = 0 menuFrame.Active = true menuFrame.Parent = menuGui local tool1Btn = Instance.new("TextButton") tool1Btn.Size = UDim2.new(0, 175, 0, 35) tool1Btn.Position = UDim2.new(0, 10, 0, 5) tool1Btn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) tool1Btn.TextColor3 = Color3.fromRGB(255, 255, 255) tool1Btn.TextSize = 12 tool1Btn.Font = Enum.Font.SourceSansBold tool1Btn.Text = "Spying Tool: OFF" tool1Btn.Parent = menuFrame local tool2Btn = Instance.new("TextButton") tool2Btn.Size = UDim2.new(0, 175, 0, 35) tool2Btn.Position = UDim2.new(0, 195, 0, 5) tool2Btn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) tool2Btn.TextColor3 = Color3.fromRGB(255, 255, 255) tool2Btn.TextSize = 12 tool2Btn.Font = Enum.Font.SourceSansBold tool2Btn.Text = "PlayerSpy Tool: OFF" tool2Btn.Parent = menuFrame --------------------------------------------------------- -- TOOL 1: SPYING TOOL LOGIC (Blue Visor / Left Side) --------------------------------------------------------- local model1 = Instance.new("Model") model1.Name = "VRHeadsetGear1" local handle1 = Instance.new("Part") handle1.Name = "Handle" handle1.Size = Vector3.new(1.8, 0.5, 0.8) handle1.BrickColor = BrickColor.new("Really black") handle1.Material = Enum.Material.SmoothPlastic handle1.CanCollide = false handle1.Parent = model1 local visor1 = Instance.new("Part") visor1.Name = "Visor" visor1.Size = Vector3.new(1.6, 0.35, 0.2) visor1.BrickColor = BrickColor.new("Cyan") -- Blue/Cyan Visor visor1.Material = Enum.Material.Neon visor1.CFrame = handle1.CFrame * CFrame.new(0, 0, -0.4) visor1.CanCollide = false visor1.Parent = model1 local weld1 = Instance.new("WeldConstraint") weld1.Part0 = handle1 weld1.Part1 = visor1 weld1.Parent = handle1 model1.PrimaryPart = handle1 local modifiedParts = {} local isSpyActive = false local addedConnection = nil local renderConnection = nil local weldToHead1 = nil local oldBrightness, oldClockTime, oldGlobalShadows, oldOutdoorAmbient, oldAmbient, oldFogEnd local function isPlayerPart(obj) for _, player in ipairs(Players:GetPlayers()) do if player.Character and obj:IsDescendantOf(player.Character) then return true end end return false end local function applyTransparency(obj) if obj:IsA("BasePart") and not obj:IsDescendantOf(model1) and not isPlayerPart(obj) then if not modifiedParts[obj] then modifiedParts[obj] = { Transparency = obj.Transparency, SurfaceAppearances = {} } for _, child in ipairs(obj:GetChildren()) do if child:IsA("SurfaceAppearance") or child:IsA("Texture") or child:IsA("Decal") then table.insert(modifiedParts[obj].SurfaceAppearances, child) child.Parent = nil end end end obj.Transparency = 0.75 end end local function enableSpy() isSpyActive = true tool1Btn.Text = "Spying Tool: ON" tool1Btn.BackgroundColor3 = Color3.fromRGB(0, 170, 255) local char = LocalPlayer.Character if char and char:FindFirstChild("Head") then model1.Parent = char handle1.Anchored = false handle1.CanCollide = false weldToHead1 = Instance.new("Weld") weldToHead1.Part0 = char.Head weldToHead1.Part1 = handle1 weldToHead1.C0 = CFrame.new(-0.25, 0.2, -0.55) -- Positioned on the left side weldToHead1.Parent = handle1 end oldBrightness = Lighting.Brightness oldClockTime = Lighting.ClockTime oldGlobalShadows = Lighting.GlobalShadows oldOutdoorAmbient = Lighting.OutdoorAmbient oldAmbient = Lighting.Ambient oldFogEnd = Lighting.FogEnd renderConnection = RunService.RenderStepped:Connect(function() if isSpyActive then Lighting.Brightness = 10 Lighting.ClockTime = 14 Lighting.GlobalShadows = false Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) Lighting.Ambient = Color3.fromRGB(255, 255, 255) Lighting.FogEnd = 100000 end end) task.spawn(function() for _, obj in ipairs(workspace:GetDescendants()) do if not isSpyActive then break end applyTransparency(obj) end end) addedConnection = workspace.DescendantAdded:Connect(function(obj) if isSpyActive then task.spawn(function() task.wait() applyTransparency(obj) end) end end) end local function disableSpy() isSpyActive = false tool1Btn.Text = "Spying Tool: OFF" tool1Btn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) if renderConnection then renderConnection:Disconnect(); renderConnection = nil end if weldToHead1 then weldToHead1:Destroy(); weldToHead1 = nil end if addedConnection then addedConnection:Disconnect(); addedConnection = nil end model1.Parent = nil if oldBrightness then Lighting.Brightness = oldBrightness Lighting.ClockTime = oldClockTime Lighting.GlobalShadows = oldGlobalShadows Lighting.OutdoorAmbient = oldOutdoorAmbient Lighting.Ambient = oldAmbient Lighting.FogEnd = oldFogEnd end for obj, data in pairs(modifiedParts) do if obj and obj.Parent then obj.Transparency = data.Transparency for _, child in ipairs(data.SurfaceAppearances) do child.Parent = obj end end end modifiedParts = {} end tool1Btn.Activated:Connect(function() if isSpyActive then disableSpy() else enableSpy() end end) --------------------------------------------------------- -- TOOL 2: PLAYERSPY TOOL LOGIC (Red Visor / Right Side + Draggable Big Box) --------------------------------------------------------- local model2 = Instance.new("Model") model2.Name = "VRHeadsetGear2" local handle2 = Instance.new("Part") handle2.Name = "Handle" handle2.Size = Vector3.new(1.8, 0.5, 0.8) handle2.BrickColor = BrickColor.new("Really black") handle2.Material = Enum.Material.SmoothPlastic handle2.CanCollide = false handle2.Parent = model2 local visor2 = Instance.new("Part") visor2.Name = "Visor" visor2.Size = Vector3.new(1.6, 0.35, 0.2) visor2.BrickColor = BrickColor.new("Bright red") -- Red Visor visor2.Material = Enum.Material.Neon visor2.CFrame = handle2.CFrame * CFrame.new(0, 0, -0.4) visor2.CanCollide = false visor2.Parent = model2 local weld2 = Instance.new("WeldConstraint") weld2.Part0 = handle2 weld2.Part1 = visor2 weld2.Parent = handle2 model2.PrimaryPart = handle2 local isPlayerSpyActive = false local weldToHead2 = nil local playerSpyFrame = nil local highlights = {} local updateLoop = nil local espRefreshThread = nil local nakedPlayers = {} local nakedAllEnabled = false local storedClothing = {} local function applyNaked(char, player) if not char then return end if not storedClothing[player] then storedClothing[player] = {} for _, child in ipairs(char:GetChildren()) do if child:IsA("Clothing") or child:IsA("Accessory") or child:IsA("ShirtGraphic") or child:IsA("BodyColors") then table.insert(storedClothing[player], child) end end end for _, child in ipairs(char:GetChildren()) do if child:IsA("Clothing") or child:IsA("Accessory") or child:IsA("ShirtGraphic") or child:IsA("BodyColors") then child.Parent = nil end end end local function restoreClothes(player) if storedClothing[player] and player.Character then for _, child in ipairs(storedClothing[player]) do if child and child.Parent == nil then child.Parent = player.Character end end storedClothing[player] = nil end end local function resetAllNakedStates() nakedAllEnabled = false for p, _ in pairs(nakedPlayers) do nakedPlayers[p] = false restoreClothes(p) end nakedPlayers = {} end local function parseCoords(str) if not str or type(str) ~= "string" then return nil end if str:match("[a-zA-Z]") or str:match("[%[%]{}#@!%$%%^&*()_+%%~`%%?<>%%/%%|%%\\]") then return nil end local matches = {} for num in str:gmatch("([%d%-%.]+)") do table.insert(matches, tonumber(num)) end if #matches >= 3 then return Vector3.new(matches[1], matches[2], matches[3]) end return nil end local function instantTP(targetCF) local char = LocalPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then local root = char.HumanoidRootPart root.AssemblyLinearVelocity = Vector3.new(0, 0, 0) root.CFrame = targetCF end end local function enablePlayerSpy() isPlayerSpyActive = true tool2Btn.Text = "PlayerSpy Tool: ON" tool2Btn.BackgroundColor3 = Color3.fromRGB(255, 50, 50) -- Equip VR Headset on head (Right side) local char = LocalPlayer.Character if char and char:FindFirstChild("Head") then model2.Parent = char handle2.Anchored = false handle2.CanCollide = false weldToHead2 = Instance.new("Weld") weldToHead2.Part0 = char.Head weldToHead2.Part1 = handle2 weldToHead2.C0 = CFrame.new(0.25, 0.2, -0.55) -- Positioned on the right side weldToHead2.Parent = handle2 end -- Independent Big Box GUI (Standalone and draggable anywhere) playerSpyFrame = Instance.new("Frame") playerSpyFrame.Name = "PlayerSpyBox" playerSpyFrame.Size = UDim2.new(0, 390, 0, 325) playerSpyFrame.Position = UDim2.new(0, 310, 0, 60) playerSpyFrame.BackgroundTransparency = 0.25 playerSpyFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10) playerSpyFrame.BorderSizePixel = 0 playerSpyFrame.Active = true playerSpyFrame.Parent = menuGui -- Drag Handle Circle at the top center of the PlayerSpy big box GUI local dragCircle = Instance.new("TextButton") dragCircle.Name = "DragCircle" dragCircle.Size = UDim2.new(0, 32, 0, 32) dragCircle.Position = UDim2.new(0.5, -16, 0, -16) dragCircle.BackgroundColor3 = Color3.fromRGB(255, 50, 50) dragCircle.TextColor3 = Color3.fromRGB(255, 255, 255) dragCircle.TextSize = 14 dragCircle.Font = Enum.Font.SourceSansBold dragCircle.Text = "āŠ™" dragCircle.ZIndex = 10 dragCircle.Parent = playerSpyFrame local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(1, 0) corner.Parent = dragCircle -- Dragging Logic for the Big Box GUI ONLY local dragging, dragInput, dragStart, startPos dragCircle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = playerSpyFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) dragCircle.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart playerSpyFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) local topFrame = Instance.new("Frame") topFrame.Size = UDim2.new(1, 0, 0, 105) topFrame.Position = UDim2.new(0, 0, 0, 0) topFrame.BackgroundTransparency = 0.4 topFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) topFrame.ZIndex = 5 topFrame.Parent = playerSpyFrame local coordBox = Instance.new("TextBox") coordBox.Size = UDim2.new(1, -20, 0, 28) coordBox.Position = UDim2.new(0, 10, 0, 6) coordBox.BackgroundColor3 = Color3.fromRGB(35, 35, 35) coordBox.TextColor3 = Color3.fromRGB(255, 255, 255) coordBox.TextSize = 12 coordBox.Font = Enum.Font.SourceSansBold coordBox.PlaceholderText = "Type Coords (e.g. 10, 20, 30)" coordBox.Text = "" coordBox.ClearTextOnFocus = false coordBox.ZIndex = 6 coordBox.Parent = topFrame local tpCoordBtn = Instance.new("TextButton") tpCoordBtn.Size = UDim2.new(0, 175, 0, 30) tpCoordBtn.Position = UDim2.new(0, 10, 0, 40) tpCoordBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255) tpCoordBtn.TextColor3 = Color3.fromRGB(255, 255, 255) tpCoordBtn.TextSize = 11 tpCoordBtn.Font = Enum.Font.SourceSansBold tpCoordBtn.Text = "Activate Coordinate TP" tpCoordBtn.ZIndex = 6 tpCoordBtn.Parent = topFrame local nakedAllBtn = Instance.new("TextButton") nakedAllBtn.Size = UDim2.new(0, 175, 0, 30) nakedAllBtn.Position = UDim2.new(0, 195, 0, 40) nakedAllBtn.BackgroundColor3 = nakedAllEnabled and Color3.fromRGB(200, 50, 50) or Color3.fromRGB(100, 50, 150) nakedAllBtn.TextColor3 = Color3.fromRGB(255, 255, 255) nakedAllBtn.TextSize = 11 nakedAllBtn.Font = Enum.Font.SourceSansBold nakedAllBtn.Text = nakedAllEnabled and "Naked All: ON" or "Naked All: OFF" nakedAllBtn.ZIndex = 6 nakedAllBtn.Parent = topFrame local container = Instance.new("ScrollingFrame") container.Name = "Container" container.Size = UDim2.new(1, 0, 0, 215) container.Position = UDim2.new(0, 0, 0, 110) container.BackgroundTransparency = 1 container.ZIndex = 2 container.Active = true container.Parent = playerSpyFrame local uiLayout = Instance.new("UIListLayout") uiLayout.SortOrder = Enum.SortOrder.LayoutOrder uiLayout.Padding = UDim.new(0, 5) uiLayout.Parent = container tpCoordBtn.Activated:Connect(function() local pos = parseCoords(coordBox.Text) if pos then instantTP(CFrame.new(pos + Vector3.new(0, 3, 0))) else coordBox.Text = "Error wrong coordinate try (0 0 0) = (xyz)" end end) nakedAllBtn.Activated:Connect(function() nakedAllEnabled = not nakedAllEnabled if nakedAllEnabled then nakedAllBtn.Text = "Naked All: ON" nakedAllBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) for _, p in ipairs(Players:GetPlayers()) do nakedPlayers[p] = true end else nakedAllBtn.Text = "Naked All: OFF" nakedAllBtn.BackgroundColor3 = Color3.fromRGB(100, 50, 150) for _, p in ipairs(Players:GetPlayers()) do nakedPlayers[p] = false restoreClothes(p) end end end) espRefreshThread = task.spawn(function() while isPlayerSpyActive do for _, player in ipairs(Players:GetPlayers()) do if player.Character then local pChar = player.Character if nakedAllEnabled then nakedPlayers[player] = true applyNaked(pChar, player) elseif nakedPlayers[player] then applyNaked(pChar, player) else restoreClothes(player) end if player ~= LocalPlayer then if not highlights[player] or highlights[player].Parent ~= pChar then if highlights[player] then highlights[player]:Destroy() end local hl = Instance.new("Highlight") hl.Name = "PlayerSpyHighlight" hl.Adornee = pChar hl.FillColor = Color3.fromRGB(255, 0, 0) hl.OutlineColor = Color3.fromRGB(255, 255, 255) hl.FillTransparency = 0.3 hl.OutlineTransparency = 0 hl.Parent = pChar highlights[player] = hl end end end end task.wait(1) end end) local playerRows = {} updateLoop = RunService.RenderStepped:Connect(function() if not isPlayerSpyActive then return end local myChar = LocalPlayer.Character local myRoot = myChar and myChar:FindFirstChild("HumanoidRootPart") for plr, row in pairs(playerRows) do if not plr.Parent or not plr.Character then row:Destroy() playerRows[plr] = nil if highlights[plr] then highlights[plr]:Destroy() highlights[plr] = nil end nakedPlayers[plr] = nil storedClothing[plr] = nil end end local allPlayers = Players:GetPlayers() for _, player in ipairs(allPlayers) do local pChar = player.Character local pRoot = pChar and pChar:FindFirstChild("HumanoidRootPart") if myRoot and pRoot then local dist = (player == LocalPlayer) and 0 or math.floor((pRoot.Position - myRoot.Position).Magnitude) local pos = pRoot.Position local coordDisplay = string.format("X: %.1f | Y: %.1f | Z: %.1f", pos.X, pos.Y, pos.Z) local row = playerRows[player] local lbl, nakedBtn if not row or not row.Parent then row = Instance.new("Frame") row.Size = UDim2.new(1, 0, 0, 50) row.BackgroundTransparency = 0.3 row.BackgroundColor3 = (player == LocalPlayer) and Color3.fromRGB(40, 20, 50) or Color3.fromRGB(30, 30, 30) row.ZIndex = 3 row.Parent = container playerRows[player] = row lbl = Instance.new("TextLabel") lbl.Name = "InfoLabel" lbl.Size = UDim2.new(1, (player == LocalPlayer) and -140 or -220, 1, 0) lbl.Position = UDim2.new(0, 6, 0, 0) lbl.BackgroundTransparency = 1 lbl.TextColor3 = Color3.fromRGB(255, 255, 255) lbl.TextSize = 10 lbl.Font = Enum.Font.SourceSansBold lbl.TextWrapped = true lbl.ZIndex = 3 lbl.Parent = row if player ~= LocalPlayer then local tpBtn = Instance.new("TextButton") tpBtn.Name = "TPBtn" tpBtn.Size = UDim2.new(0, 60, 0, 20) tpBtn.Position = UDim2.new(1, -210, 0, 4) tpBtn.BackgroundColor3 = Color3.fromRGB(255, 100, 0) tpBtn.TextColor3 = Color3.fromRGB(255, 255, 255) tpBtn.TextSize = 10 tpBtn.Font = Enum.Font.SourceSansBold tpBtn.Text = "TP" tpBtn.ZIndex = 4 tpBtn.Parent = row tpBtn.Activated:Connect(function() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then instantTP(player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)) end end) end nakedBtn = Instance.new("TextButton") nakedBtn.Name = "NakedBtn" nakedBtn.Size = UDim2.new(0, 60, 0, (player == LocalPlayer) and 38 or 20) nakedBtn.Position = (player == LocalPlayer) and UDim2.new(1, -135, 0, 6) or UDim2.new(1, -210, 0, 26) nakedBtn.BackgroundColor3 = (nakedPlayers[player] or nakedAllEnabled) and Color3.fromRGB(200, 50, 50) or Color3.fromRGB(80, 80, 80) nakedBtn.TextColor3 = Color3.fromRGB(255, 255, 255) nakedBtn.TextSize = 10 nakedBtn.Font = Enum.Font.SourceSansBold nakedBtn.Text = (nakedPlayers[player] or nakedAllEnabled) and "Naked" or "Dressed" nakedBtn.ZIndex = 4 nakedBtn.Parent = row nakedBtn.Activated:Connect(function() if nakedAllEnabled then return end nakedPlayers[player] = not nakedPlayers[player] if nakedPlayers[player] then nakedBtn.Text = "Naked" nakedBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) if player.Character then applyNaked(player.Character, player) end else nakedBtn.Text = "Dressed" nakedBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) restoreClothes(player) end end) local copyBtn = Instance.new("TextButton") copyBtn.Name = "CopyBtn" copyBtn.Size = UDim2.new(0, 65, 0, (player == LocalPlayer) and 38 or 20) copyBtn.Position = (player == LocalPlayer) and UDim2.new(1, -70, 0, 6) or UDim2.new(1, -145, 0, (player ~= LocalPlayer and 26 or 6)) copyBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 255) copyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) copyBtn.TextSize = 10 copyBtn.Font = Enum.Font.SourceSansBold copyBtn.Text = "Copy" copyBtn.ZIndex = 4 copyBtn.Parent = row copyBtn.Activated:Connect(function() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local currPos = player.Character.HumanoidRootPart.Position local currStr = string.format("%.1f, %.1f, %.1f", currPos.X, currPos.Y, currPos.Z) pcall(function() setclipboard(currStr) end) coordBox.Text = currStr end end) else lbl = row:FindFirstChild("InfoLabel") nakedBtn = row:FindFirstChild("NakedBtn") if nakedBtn then local isNakedActive = nakedPlayers[player] or nakedAllEnabled nakedBtn.BackgroundColor3 = isNakedActive and Color3.fromRGB(200, 50, 50) or Color3.fromRGB(80, 80, 80) nakedBtn.Text = isNakedActive and "Naked" or "Dressed" end end if lbl then if player == LocalPlayer then lbl.Text = string.format("⭐ [ME] %s\nšŸ“ %s", player.Name, coordDisplay) else lbl.Text = string.format("šŸ”“ %s | %d studs\nšŸ“ %s", player.Name, dist, coordDisplay) end end end end container.CanvasSize = UDim2.new(0, 0, 0, uiLayout.AbsoluteContentSize.Y + 30) end) end local function disablePlayerSpy() isPlayerSpyActive = false tool2Btn.Text = "PlayerSpy Tool: OFF" tool2Btn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) if updateLoop then updateLoop:Disconnect(); updateLoop = nil end if espRefreshThread then task.cancel(espRefreshThread); espRefreshThread = nil end if weldToHead2 then weldToHead2:Destroy(); weldToHead2 = nil end if playerSpyFrame then playerSpyFrame:Destroy(); playerSpyFrame = nil end for _, hl in pairs(highlights) do if hl then hl:Destroy() end end highlights = {} model2.Parent = nil end tool2Btn.Activated:Connect(function() if isPlayerSpyActive then disablePlayerSpy() else enablePlayerSpy() end end) LocalPlayer.CharacterAdded:Connect(function(newChar) resetAllNakedStates() if isSpyActive then disableSpy() end if isPlayerSpyActive then disablePlayerSpy() end end)