--[[ HP HUB VIEW - VERSION 2026 Created for Executor Compatibility ]] local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera -- Hapus versi lama jika ada if game.CoreGui:FindFirstChild("HPHubView") then game.CoreGui.HPHubView:Destroy() end -- UI Setup local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "HPHubView" ScreenGui.Parent = game.CoreGui ScreenGui.ResetOnSpawn = false local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 250, 0, 110) MainFrame.Position = UDim2.new(0.5, -125, 0.8, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true -- Bisa digeser di layar MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 15) UICorner.Parent = MainFrame local UIStroke = Instance.new("UIStroke") UIStroke.Thickness = 2 UIStroke.Color = Color3.fromRGB(0, 170, 255) -- Warna aksen biru HP HUB UIStroke.Parent = MainFrame -- Judul Hub local HubTitle = Instance.new("TextLabel") HubTitle.Size = UDim2.new(1, 0, 0, 30) HubTitle.BackgroundTransparency = 1 HubTitle.Text = "HP HUB VIEW" HubTitle.TextColor3 = Color3.fromRGB(0, 170, 255) HubTitle.Font = Enum.Font.GothamBold HubTitle.TextSize = 16 HubTitle.Parent = MainFrame -- Nama Pemain yang Dilihat local PlayerName = Instance.new("TextLabel") PlayerName.Size = UDim2.new(1, 0, 0, 30) PlayerName.Position = UDim2.new(0, 0, 0.35, 0) PlayerName.BackgroundTransparency = 1 PlayerName.Text = "Sedang Melihat: Diri Sendiri" PlayerName.TextColor3 = Color3.fromRGB(255, 255, 255) PlayerName.Font = Enum.Font.GothamMedium PlayerName.TextSize = 14 PlayerName.Parent = MainFrame -- Tombol Kontrol local function CreateControlBtn(name, text, pos) local btn = Instance.new("TextButton") btn.Name = name btn.Size = UDim2.new(0, 40, 0, 30) btn.Position = pos btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Text = text btn.Font = Enum.Font.GothamBold btn.Parent = MainFrame Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8) return btn end local PrevBtn = CreateControlBtn("Prev", "<", UDim2.new(0.1, 0, 0.65, 0)) local NextBtn = CreateControlBtn("Next", ">", UDim2.new(0.7, 0, 0.65, 0)) local ResetBtn = CreateControlBtn("Reset", "RESET", UDim2.new(0.3, 10, 0.65, 0)) ResetBtn.Size = UDim2.new(0, 80, 0, 30) ResetBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) -- Logika Spectate local targetIndex = 1 local function GetPlayersList() return Players:GetPlayers() end local function UpdateView() local allPlayers = GetPlayersList() if #allPlayers == 0 then return end if targetIndex > #allPlayers then targetIndex = 1 end if targetIndex < 1 then targetIndex = #allPlayers end local target = allPlayers[targetIndex] if target and target.Character and target.Character:FindFirstChild("Humanoid") then Camera.CameraSubject = target.Character.Humanoid PlayerName.Text = "Melihat: " .. target.DisplayName else PlayerName.Text = "Karakter Tidak Ditemukan" end end NextBtn.MouseButton1Click:Connect(function() targetIndex = targetIndex + 1 UpdateView() end) PrevBtn.MouseButton1Click:Connect(function() targetIndex = targetIndex - 1 UpdateView() end) ResetBtn.MouseButton1Click:Connect(function() Camera.CameraSubject = LocalPlayer.Character.Humanoid PlayerName.Text = "Sedang Melihat: Diri Sendiri" targetIndex = 1 end) -- Notifikasi Console print("--------------------------") print("HP HUB VIEW LOADED") print("Status: Active (2026)") print("--------------------------")