--[[ ███████╗██╗ ██╗██╗ ██╗██████╗ ╚══███╔╝██║ ██║██║ ██║██╔══██╗ ███╔╝ ███████║██║ ██║██████╔╝ ███╔╝ ██╔══██║██║ ██║██╔══██╗ ███████╗██║ ██║╚██████╔╝██████╔╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ Z HUB | AUTO-LEAVE + ESP - Movable GUI (neon blue/black) - Toggle ON/OFF (insta‑kick on steal) - Player ESP (wallhack + health bars) --]] local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local Camera = workspace.CurrentCamera -- ========== ESP SETUP ========== local espFolder = Instance.new("Folder") espFolder.Name = "ZHub_ESP" espFolder.Parent = PlayerGui local function createESP(player) if player == LocalPlayer then return end local character = player.Character if not character or not character:FindFirstChild("HumanoidRootPart") then return end local highlight = Instance.new("Highlight") highlight.Name = "ZHubESP" highlight.FillTransparency = 0.8 highlight.OutlineTransparency = 0.2 highlight.OutlineColor = Color3.fromRGB(0, 170, 255) -- Bright blue highlight.FillColor = Color3.fromRGB(0, 100, 200) highlight.Adornee = character highlight.Parent = espFolder local billboard = Instance.new("BillboardGui") billboard.Name = "NameTag" billboard.Size = UDim2.new(0, 200, 0, 40) billboard.StudsOffset = Vector3.new(0, 2.5, 0) billboard.AlwaysOnTop = true billboard.Parent = character:FindFirstChild("Head") or character local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, 0, 1, 0) nameLabel.BackgroundTransparency = 1 nameLabel.Text = player.Name nameLabel.TextColor3 = Color3.fromRGB(0, 170, 255) nameLabel.TextStrokeTransparency = 0.3 nameLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) nameLabel.Font = Enum.Font.GothamBold nameLabel.TextScaled = true nameLabel.Parent = billboard local healthBar = Instance.new("Frame") healthBar.Size = UDim2.new(1, 0, 0.2, 0) healthBar.Position = UDim2.new(0, 0, 1, 0) healthBar.BackgroundColor3 = Color3.fromRGB(0, 200, 0) healthBar.BorderSizePixel = 0 healthBar.Parent = billboard local humanoid = character:FindFirstChild("Humanoid") if humanoid then local connection connection = humanoid.HealthChanged:Connect(function(health) local maxHealth = humanoid.MaxHealth or 100 local percent = math.clamp(health / maxHealth, 0, 1) healthBar.Size = UDim2.new(percent, 0, 0.2, 0) healthBar.BackgroundColor3 = Color3.fromRGB(255 * (1-percent), 200 * percent, 0) if health <= 0 then connection:Disconnect() end end) end end local function removeESP(player) for _, obj in ipairs(espFolder:GetChildren()) do if obj:IsA("Highlight") and obj.Adornee and obj.Adornee.Parent == player.Character then obj:Destroy() end end if player.Character and player.Character:FindFirstChild("Head") then local bill = player.Character.Head:FindFirstChild("NameTag") if bill then bill:Destroy() end end end for _, player in ipairs(Players:GetPlayers()) do createESP(player) end Players.PlayerAdded:Connect(createESP) Players.PlayerRemoving:Connect(removeESP) Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function() task.wait(0.5) createESP(player) end) end) -- ========== AUTO-LEAVE DEFENDER ========== local autoLeaveEnabled = false local function kickPlayer() local kickMsg = "⚠️ SOMEONE TRIED STEALING AND WE BLOCKED 😁✌🙏 THEM ⚠️\n\n➤ JOIN OUR DISCORD:\nhttps://discord.gg/JUca27emW\n\n[ Z HUB | PROTECTED ]" task.wait(0.1) LocalPlayer:Kick(kickMsg) end local function triggerStealDetected() if autoLeaveEnabled then kickPlayer() end end -- ========== DETECTION LOGIC (CUSTOMIZE THIS) ========== local function setupDetection() -- 🔁 REPLACE WITH REAL GAME EVENTS 🔁 local valentino = workspace:FindFirstChild("Valentino") if valentino then valentino.Touched:Connect(function(hit) if autoLeaveEnabled and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then local toucher = Players:GetPlayerFromCharacter(hit.Parent) if toucher and toucher ~= LocalPlayer then triggerStealDetected() end end end) end local remote = game:GetService("ReplicatedStorage"):FindFirstChild("StealValentino") if remote and remote:IsA("RemoteEvent") then local oldFire = remote.FireServer remote.FireServer = function(...) if autoLeaveEnabled then triggerStealDetected() end return oldFire(...) end end -- Test key: E (remove after testing) UserInputService.InputBegan:Connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.E then warn("[TEST] Steal triggered (remove this line)") triggerStealDetected() end end) end setupDetection() -- ========== Z HUB GUI (BLUE TITLE) ========== local gui = Instance.new("ScreenGui") gui.Name = "ZHub" gui.ResetOnSpawn = false gui.Parent = PlayerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 320, 0, 200) frame.Position = UDim2.new(0.5, -160, 0.75, 0) frame.BackgroundColor3 = Color3.fromRGB(8, 8, 16) frame.BackgroundTransparency = 0.1 frame.BorderColor3 = Color3.fromRGB(0, 170, 255) frame.BorderSizePixel = 2 frame.Active = true frame.Draggable = true frame.Parent = gui -- Glitch lines for i = 1, 5 do local line = Instance.new("Frame") line.Size = UDim2.new(1, 0, 0, 2) line.Position = UDim2.new(0, 0, i * 0.18, 0) line.BackgroundColor3 = Color3.fromRGB(0, 170, 255) line.BackgroundTransparency = 0.7 line.BorderSizePixel = 0 line.Parent = frame end -- MAIN TITLE: Z HUB (bright blue) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 45) title.Position = UDim2.new(0, 0, 0, 0) title.BackgroundTransparency = 1 title.Text = "Z HUB" title.TextColor3 = Color3.fromRGB(0, 150, 255) -- Pure blue title.TextScaled = true title.Font = Enum.Font.GothamBlack title.TextStrokeTransparency = 0.2 title.TextStrokeColor3 = Color3.fromRGB(0, 80, 200) title.Parent = frame -- Subtitle local desc = Instance.new("TextLabel") desc.Size = UDim2.new(1, 0, 0, 20) desc.Position = UDim2.new(0, 0, 0, 42) desc.BackgroundTransparency = 1 desc.Text = "⚡ AUTO-LEAVE DEFENDER | ESP ACTIVE ⚡" desc.TextColor3 = Color3.fromRGB(0, 170, 255) desc.TextSize = 12 desc.Font = Enum.Font.Gotham desc.Parent = frame -- Slot selector style local slotFrame = Instance.new("Frame") slotFrame.Size = UDim2.new(0.9, 0, 0, 50) slotFrame.Position = UDim2.new(0.05, 0, 0, 68) slotFrame.BackgroundColor3 = Color3.fromRGB(0, 20, 40) slotFrame.BorderColor3 = Color3.fromRGB(0, 170, 255) slotFrame.BorderSizePixel = 1 slotFrame.Parent = frame local slotText = Instance.new("TextLabel") slotText.Size = UDim2.new(0.5, 0, 1, 0) slotText.Position = UDim2.new(0, 5, 0, 0) slotText.BackgroundTransparency = 1 slotText.Text = "> AUTO-LEAVE [" slotText.TextColor3 = Color3.fromRGB(0, 170, 255) slotText.TextSize = 18 slotText.TextXAlignment = Enum.TextXAlignment.Left slotText.Font = Enum.Font.GothamBold slotText.Parent = slotFrame local toggleStatus = Instance.new("TextLabel") toggleStatus.Size = UDim2.new(0.3, 0, 1, 0) toggleStatus.Position = UDim2.new(0.55, 0, 0, 0) toggleStatus.BackgroundTransparency = 1 toggleStatus.Text = "OFF" toggleStatus.TextColor3 = Color3.fromRGB(255, 100, 100) toggleStatus.TextSize = 18 toggleStatus.Font = Enum.Font.GothamBold toggleStatus.Parent = slotFrame local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(0, 70, 0, 35) toggleBtn.Position = UDim2.new(0.7, 0, 0, 115) toggleBtn.BackgroundColor3 = Color3.fromRGB(0, 80, 200) toggleBtn.BorderColor3 = Color3.fromRGB(0, 170, 255) toggleBtn.Text = "ENABLE" toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleBtn.TextSize = 14 toggleBtn.Font = Enum.Font.GothamBold toggleBtn.Parent = frame local discord = Instance.new("TextLabel") discord.Size = UDim2.new(1, 0, 0, 25) discord.Position = UDim2.new(0, 0, 0, 170) discord.BackgroundTransparency = 1 discord.Text = "💀 discord.gg/JUca27emW 💀" discord.TextColor3 = Color3.fromRGB(0, 170, 255) discord.TextSize = 14 discord.Font = Enum.Font.Gotham discord.Parent = frame local function updateToggleUI() if autoLeaveEnabled then toggleStatus.Text = "ON // ACTIVE" toggleStatus.TextColor3 = Color3.fromRGB(0, 255, 0) toggleBtn.Text = "DISABLE" toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) slotFrame.BackgroundColor3 = Color3.fromRGB(0, 40, 20) else toggleStatus.Text = "OFF // SAFE" toggleStatus.TextColor3 = Color3.fromRGB(255, 100, 100) toggleBtn.Text = "ENABLE" toggleBtn.BackgroundColor3 = Color3.fromRGB(0, 80, 200) slotFrame.BackgroundColor3 = Color3.fromRGB(0, 20, 40) end end toggleBtn.MouseButton1Click:Connect(function() autoLeaveEnabled = not autoLeaveEnabled updateToggleUI() end) updateToggleUI() RunService.RenderStepped:Connect(function() local t = tick() % 2 frame.BorderColor3 = Color3.fromRGB(0, 170 + math.sin(t*math.pi)*85, 255) end) print("✅ Z HUB loaded | Blue theme | ESP + Anti‑steal active")