local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local FOLDER_NAME = "HuntParts" local AURORA_PREFIX = "AuroraHunt_" local AURORA_FIRST = 1 local AURORA_LAST = 28 local ORIGINAL_KEYWORDS = { "jet", "car", "train" } local CHECK_INTERVAL = 0.5 local ALERT_DURATION = 3 local ARROW_EDGE_MARGIN = 60 local ARROW_COLOR = Color3.fromRGB(255, 210, 60) local COLOR_VISIBLE = Color3.fromRGB(120, 255, 120) local COLOR_HIDDEN = Color3.fromRGB(150, 150, 150) local SEPARATOR_COLOR = Color3.fromRGB(255, 210, 60) local OTHER_LABEL = "Other Hunts" local EXPANDED_SIZE = UDim2.new(0, 250, 0.8, 0) local MINIMIZED_SIZE = UDim2.fromOffset(150, 34) local MINIMIZE_TWEEN = TweenInfo.new(0.35, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) local huntFolder = workspace:WaitForChild(FOLDER_NAME) local originalAlertsOn = false local visibleOnly = false local autoArrowOn = true local minimized = false local currentTween = nil local wasVisible = {} local collected = {} local alertOverride = {} local arrows = {} local entries = {} local headers = {} local selected = nil local function makeCorner(parent, radius) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, radius) corner.Parent = parent end local function makeButton(parent, text, position, size) local button = Instance.new("TextButton") button.Position = position button.Size = size button.BackgroundColor3 = Color3.fromRGB(55, 55, 55) button.TextColor3 = Color3.new(1, 1, 1) button.Font = Enum.Font.GothamBold button.TextSize = 14 button.Text = text button.Parent = parent makeCorner(button, 6) return button end local screenGui = Instance.new("ScreenGui") screenGui.Name = "VisibilityAlerts" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local function makeDraggable(frame, header) header.Active = true local dragging = false local dragInput = nil local dragStartMouse = Vector2.new() local dragStartPos = Vector2.new() header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragInput = input dragStartMouse = Vector2.new(input.Position.X, input.Position.Y) dragStartPos = Vector2.new(frame.Position.X.Offset, frame.Position.Y.Offset) input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false dragInput = nil end end) end end) UserInputService.InputChanged:Connect(function(input) if not dragging or input ~= dragInput then return end if input.UserInputType ~= Enum.UserInputType.MouseMovement and input.UserInputType ~= Enum.UserInputType.Touch then return end local delta = Vector2.new(input.Position.X, input.Position.Y) - dragStartMouse local maxX = math.max(0, screenGui.AbsoluteSize.X - frame.AbsoluteSize.X) local maxY = math.max(0, screenGui.AbsoluteSize.Y - frame.AbsoluteSize.Y) local newX = math.clamp(dragStartPos.X + delta.X, 0, maxX) local newY = math.clamp(dragStartPos.Y + delta.Y, 0, maxY) frame.Position = UDim2.fromOffset(newX, newY) end) end local alertHolder = Instance.new("Frame") alertHolder.Name = "AlertHolder" alertHolder.AnchorPoint = Vector2.new(0.5, 0) alertHolder.Position = UDim2.new(0.5, 0, 0, 20) alertHolder.Size = UDim2.fromOffset(400, 300) alertHolder.BackgroundTransparency = 1 alertHolder.Active = false alertHolder.Parent = screenGui local alertLayout = Instance.new("UIListLayout") alertLayout.Padding = UDim.new(0, 8) alertLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center alertLayout.SortOrder = Enum.SortOrder.LayoutOrder alertLayout.Parent = alertHolder local viewerFrame = Instance.new("Frame") viewerFrame.Name = "Viewer" viewerFrame.Position = UDim2.fromOffset(20, 100) viewerFrame.Size = EXPANDED_SIZE viewerFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) viewerFrame.BackgroundTransparency = 0.2 viewerFrame.ClipsDescendants = true viewerFrame.Active = false viewerFrame.Parent = screenGui makeCorner(viewerFrame, 8) local body = Instance.new("Frame") body.Name = "Body" body.Size = UDim2.fromScale(1, 1) body.BackgroundTransparency = 1 body.Parent = viewerFrame local viewerHeader = Instance.new("Frame") viewerHeader.Name = "Header" viewerHeader.Size = UDim2.new(1, 0, 0, 30) viewerHeader.BackgroundTransparency = 1 viewerHeader.Parent = viewerFrame local viewerTitle = Instance.new("TextLabel") viewerTitle.Size = UDim2.new(1, -40, 1, 0) viewerTitle.Position = UDim2.fromOffset(8, 0) viewerTitle.BackgroundTransparency = 1 viewerTitle.TextXAlignment = Enum.TextXAlignment.Left viewerTitle.Text = "Hunts" viewerTitle.TextColor3 = Color3.new(1, 1, 1) viewerTitle.Font = Enum.Font.GothamBold viewerTitle.TextSize = 18 viewerTitle.Parent = viewerHeader local minimizeButton = makeButton(viewerHeader, "-", UDim2.new(1, -32, 0, 3), UDim2.fromOffset(26, 24)) makeDraggable(viewerFrame, viewerHeader) local settingsButton = makeButton(body, "", UDim2.fromOffset(8, 34), UDim2.new(1, -16, 0, 28)) local filterButton = makeButton(body, "", UDim2.fromOffset(8, 66), UDim2.new(1, -16, 0, 28)) local autoArrowButton = makeButton(body, "", UDim2.fromOffset(8, 98), UDim2.new(1, -16, 0, 28)) local searchBox = Instance.new("TextBox") searchBox.Name = "Search" searchBox.Position = UDim2.fromOffset(8, 130) searchBox.Size = UDim2.new(1, -16, 0, 28) searchBox.BackgroundColor3 = Color3.fromRGB(35, 35, 35) searchBox.TextColor3 = Color3.new(1, 1, 1) searchBox.PlaceholderText = "Search (e.g. hawk)" searchBox.PlaceholderColor3 = Color3.fromRGB(130, 130, 130) searchBox.Text = "" searchBox.Font = Enum.Font.Gotham searchBox.TextSize = 14 searchBox.ClearTextOnFocus = false searchBox.Parent = body makeCorner(searchBox, 6) local listFrame = Instance.new("ScrollingFrame") listFrame.Position = UDim2.fromOffset(8, 164) listFrame.Size = UDim2.new(1, -16, 1, -172) listFrame.BackgroundTransparency = 1 listFrame.BorderSizePixel = 0 listFrame.ScrollBarThickness = 6 listFrame.ScrollingDirection = Enum.ScrollingDirection.Y listFrame.CanvasSize = UDim2.new(0, 0, 0, 0) listFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y listFrame.Parent = body local listLayout = Instance.new("UIListLayout") listLayout.Padding = UDim.new(0, 4) listLayout.SortOrder = Enum.SortOrder.LayoutOrder listLayout.Parent = listFrame local detailFrame = Instance.new("Frame") detailFrame.Name = "Detail" detailFrame.Position = UDim2.fromOffset(260, 100) detailFrame.Size = UDim2.fromOffset(200, 170) detailFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) detailFrame.BackgroundTransparency = 0.2 detailFrame.Visible = false detailFrame.Active = false detailFrame.Parent = screenGui makeCorner(detailFrame, 8) local detailHeader = Instance.new("Frame") detailHeader.Name = "Header" detailHeader.Size = UDim2.new(1, 0, 0, 30) detailHeader.BackgroundTransparency = 1 detailHeader.Parent = detailFrame local detailTitle = Instance.new("TextLabel") detailTitle.Size = UDim2.new(1, 0, 1, 0) detailTitle.BackgroundTransparency = 1 detailTitle.TextColor3 = Color3.new(1, 1, 1) detailTitle.Font = Enum.Font.GothamBold detailTitle.TextSize = 16 detailTitle.TextScaled = false detailTitle.Parent = detailHeader makeDraggable(detailFrame, detailHeader) local arrowButton = makeButton(detailFrame, "", UDim2.fromOffset(8, 38), UDim2.new(1, -16, 0, 30)) local alertButton = makeButton(detailFrame, "", UDim2.fromOffset(8, 74), UDim2.new(1, -16, 0, 30)) local closeButton = makeButton(detailFrame, "Close", UDim2.fromOffset(8, 110), UDim2.new(1, -16, 0, 30)) local function isOriginal(name) local lower = string.lower(name) for _, keyword in ipairs(ORIGINAL_KEYWORDS) do if string.find(lower, keyword, 1, true) then return true end end return false end local function alertsEnabled(model) local override = alertOverride[model] if override ~= nil then return override end if isOriginal(model.Name) then return originalAlertsOn end return true end local function isPartVisible(part) return part.Transparency < 1 and part.LocalTransparencyModifier < 1 end local function isModelVisible(model) if model:IsA("BasePart") then return isPartVisible(model) end for _, descendant in ipairs(model:GetDescendants()) do if descendant:IsA("BasePart") and isPartVisible(descendant) then return true end end return false end local function getPosition(model) if model:IsA("BasePart") then return model.Position end if model:IsA("Model") then return model:GetPivot().Position end local part = model:FindFirstChildWhichIsA("BasePart", true) return part and part.Position end local function getQuery() local text = string.match(searchBox.Text, "^%s*(.-)%s*$") return string.lower(text) end local function nameMatches(name, query) return query == "" or string.find(string.lower(name), query, 1, true) ~= nil end local function groupOf(name) local huntAt = string.find(string.lower(name), "hunt", 1, true) local base = huntAt and string.sub(name, 1, huntAt - 1) or name base = string.gsub(base, "_", " ") base = string.gsub(base, "(%l)(%u)", "%1 %2") base = string.gsub(base, "[%d%p]", " ") base = string.gsub(base, "%s+", " ") base = string.match(base, "^%s*(.-)%s*$") if base == "" then return OTHER_LABEL end base = string.gsub(base, "(%a)(%a*)", function(first, rest) return string.upper(first) .. string.lower(rest) end) if huntAt then return base .. " Hunt" end return base end local function showAlert(message) local label = Instance.new("TextLabel") label.Size = UDim2.new(1, 0, 0, 40) label.BackgroundColor3 = Color3.fromRGB(30, 30, 30) label.BackgroundTransparency = 0.2 label.TextColor3 = Color3.new(1, 1, 1) label.Font = Enum.Font.GothamBold label.TextSize = 20 label.Text = message label.Parent = alertHolder makeCorner(label, 8) task.delay(ALERT_DURATION, function() local tween = TweenService:Create(label, TweenInfo.new(0.5), { BackgroundTransparency = 1, TextTransparency = 1, }) tween:Play() tween.Completed:Wait() label:Destroy() end) end local function refreshDetail() if not selected then detailFrame.Visible = false return end detailFrame.Visible = true detailTitle.Text = selected.Name arrowButton.Text = "Show Arrow: " .. (arrows[selected] and "ON" or "OFF") alertButton.Text = "Alerts: " .. (alertsEnabled(selected) and "ON" or "OFF") end local function refreshSettingsButton() settingsButton.Text = "Original alerts: " .. (originalAlertsOn and "ON" or "OFF") filterButton.Text = "Visible only: " .. (visibleOnly and "ON" or "OFF") autoArrowButton.Text = "Search arrows: " .. (autoArrowOn and "ON" or "OFF") end local function setArrow(model, on) if on and not arrows[model] then local arrow = Instance.new("TextLabel") arrow.Name = model.Name .. "_Arrow" arrow.AnchorPoint = Vector2.new(0.5, 0.5) arrow.Size = UDim2.fromOffset(40, 40) arrow.BackgroundTransparency = 1 arrow.Text = "▲" arrow.TextColor3 = ARROW_COLOR arrow.TextStrokeTransparency = 0.3 arrow.Font = Enum.Font.GothamBlack arrow.TextSize = 36 arrow.Visible = false arrow.Parent = screenGui arrows[model] = arrow elseif not on and arrows[model] then arrows[model]:Destroy() arrows[model] = nil end end local function applySearchArrows() if not autoArrowOn then return end local query = getQuery() if query == "" then return end for model in pairs(entries) do if nameMatches(model.Name, query) then setArrow(model, true) end end end local function updateArrows() local cam = workspace.CurrentCamera if not cam then return end local viewport = cam.ViewportSize local center = viewport / 2 local halfW = center.X - ARROW_EDGE_MARGIN local halfH = center.Y - ARROW_EDGE_MARGIN for model, arrow in pairs(arrows) do local pos = getPosition(model) if not pos then arrow.Visible = false else local screenPos, onScreen = cam:WorldToViewportPoint(pos) local target = Vector2.new(screenPos.X, screenPos.Y) if onScreen then arrow.Position = UDim2.fromOffset(target.X, target.Y - 50) arrow.Rotation = 180 arrow.Visible = true else local dir = target - center if screenPos.Z < 0 then dir = -dir end if dir.Magnitude < 0.001 then dir = Vector2.new(0, -1) end local dx, dy = math.abs(dir.X), math.abs(dir.Y) local tx = dx > 0.001 and halfW / dx or math.huge local ty = dy > 0.001 and halfH / dy or math.huge local edge = center + dir * math.min(tx, ty) arrow.Position = UDim2.fromOffset(edge.X, edge.Y) arrow.Rotation = math.deg(math.atan2(dir.Y, dir.X)) + 90 arrow.Visible = true end end end end local function ensureEntry(model) if entries[model] then return entries[model] end local button = Instance.new("TextButton") button.Name = model.Name button.Size = UDim2.new(1, 0, 0, 26) button.BackgroundColor3 = Color3.fromRGB(50, 50, 50) button.TextColor3 = COLOR_HIDDEN button.Font = Enum.Font.Gotham button.TextSize = 16 button.Text = model.Name button.Parent = listFrame makeCorner(button, 6) button.MouseButton1Click:Connect(function() selected = model refreshDetail() end) entries[model] = button return button end local function forget(model) if entries[model] then entries[model]:Destroy() entries[model] = nil end setArrow(model, false) wasVisible[model] = nil if selected == model then selected = nil refreshDetail() end end local function collect(model) collected[model] = true forget(model) end local function refreshList() local query = getQuery() local buckets, labels = {}, {} for model, entry in pairs(entries) do local shown = nameMatches(model.Name, query) and (not visibleOnly or wasVisible[model] == true) entry.Visible = shown if shown then local label = groupOf(model.Name) if not buckets[label] then buckets[label] = {} table.insert(labels, label) end table.insert(buckets[label], model) end end table.sort(labels) local order = 0 local usedHeaders = {} for _, label in ipairs(labels) do local header = headers[label] if not header then header = Instance.new("TextLabel") header.Name = "Separator_" .. label header.Size = UDim2.new(1, 0, 0, 22) header.BackgroundTransparency = 1 header.TextColor3 = SEPARATOR_COLOR header.Font = Enum.Font.GothamBold header.TextSize = 13 header.Text = "- " .. label .. " -" header.Parent = listFrame headers[label] = header end order += 1 header.LayoutOrder = order usedHeaders[label] = true local items = buckets[label] table.sort(items, function(a, b) return a.Name < b.Name end) for _, model in ipairs(items) do order += 1 entries[model].LayoutOrder = order end end for label, header in pairs(headers) do if not usedHeaders[label] then header:Destroy() headers[label] = nil end end end local function getCandidates() local list, seen = {}, {} local function add(model) if model and not seen[model] and not collected[model] then seen[model] = true table.insert(list, model) end end for _, child in ipairs(huntFolder:GetChildren()) do add(child) end for n = AURORA_FIRST, AURORA_LAST do add(huntFolder:FindFirstChild(string.format("%s%02d", AURORA_PREFIX, n))) end return list end local function checkModels() local current = {} local query = getQuery() local searching = query ~= "" for _, model in ipairs(getCandidates()) do current[model] = true local visible = isModelVisible(model) local previous = wasVisible[model] local matches = searching and nameMatches(model.Name, query) if not entries[model] and matches and autoArrowOn then setArrow(model, true) end if visible and previous ~= true then if searching then if matches then showAlert(model.Name .. " is visible") end elseif alertsEnabled(model) then showAlert(model.Name .. " is visible") end if matches and autoArrowOn then setArrow(model, true) end end if not visible and previous == true then collect(model) else wasVisible[model] = visible local entry = ensureEntry(model) entry.TextColor3 = visible and COLOR_VISIBLE or COLOR_HIDDEN end end for model in pairs(entries) do if not current[model] then if arrows[model] and (query == "" or nameMatches(model.Name, query)) then showAlert(model.Name .. " disappeared") end forget(model) end end refreshList() end local function setMinimized(on) minimized = on if currentTween then currentTween:Cancel() end if not on then body.Visible = true end minimizeButton.Text = on and "+" or "-" local tween = TweenService:Create(viewerFrame, MINIMIZE_TWEEN, { Size = on and MINIMIZED_SIZE or EXPANDED_SIZE, }) currentTween = tween tween.Completed:Connect(function(state) if state == Enum.PlaybackState.Completed and minimized then body.Visible = false end end) tween:Play() end minimizeButton.MouseButton1Click:Connect(function() setMinimized(not minimized) end) arrowButton.MouseButton1Click:Connect(function() if not selected then return end setArrow(selected, arrows[selected] == nil) refreshDetail() end) alertButton.MouseButton1Click:Connect(function() if not selected then return end alertOverride[selected] = not alertsEnabled(selected) refreshDetail() end) closeButton.MouseButton1Click:Connect(function() selected = nil refreshDetail() end) settingsButton.MouseButton1Click:Connect(function() originalAlertsOn = not originalAlertsOn refreshSettingsButton() refreshDetail() end) filterButton.MouseButton1Click:Connect(function() visibleOnly = not visibleOnly refreshSettingsButton() refreshList() end) autoArrowButton.MouseButton1Click:Connect(function() autoArrowOn = not autoArrowOn refreshSettingsButton() applySearchArrows() end) searchBox:GetPropertyChangedSignal("Text"):Connect(function() applySearchArrows() refreshList() end) refreshSettingsButton() RunService.RenderStepped:Connect(updateArrows) while true do checkModels() task.wait(CHECK_INTERVAL) end