local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local LogService = game:GetService("LogService") local SoundService = game:GetService("SoundService") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Stats = game:GetService("Stats") local player = Players.LocalPlayer if not player then return end local playerGui = player:WaitForChild("PlayerGui") local oldGui = playerGui:FindFirstChild("GalaxyHubSystem") if oldGui then pcall(function() oldGui:Destroy() end) end local screenGui = Instance.new("ScreenGui") screenGui.Name = "GalaxyHubSystem" screenGui.ResetOnSpawn = false screenGui.IgnoreGuiInset = true screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = playerGui local HUB_NAME = "Galaxy Hub" local HUB_VERSION = "v2.6.6" local ENGINE_VERSION = "Engine 2.0.6" local OWNER_USERNAME = "DAVIDPOPAty_9" local MAIN_OPEN_ICON = "rbxassetid://95186478298214" local DISCORD_BTN_ICON = "rbxassetid://85248159843196" local DISCORD_SOUND_ID = "rbxassetid://87585384021955" local SHORT_DISCORD_TEXT = "discord.gg/ZcF6c9MJ5" local DISCORD_MAX_PLAYS = 100000 local DROP_KICK_URL = "https://rawscripts.net/raw/Universal-Script-kick-fling-177615" local openMode = "ButtonOnly" local colorAnimToken = 0 local activeDiscordLoopToken = 0 local appendConsoleLine local function logSafe(msg, col) if appendConsoleLine then pcall(function() appendConsoleLine(msg, col) end) end end local function playDiscordSound100k() activeDiscordLoopToken += 1 local myToken = activeDiscordLoopToken task.spawn(function() local sfx = Instance.new("Sound") sfx.Name = "DiscordLoopSfx" sfx.SoundId = DISCORD_SOUND_ID sfx.Volume = 0.8 sfx.Looped = false sfx.Parent = SoundService local loadedOk = false pcall(function() if not sfx.IsLoaded then sfx.Loaded:Wait() end loadedOk = (sfx.TimeLength > 0) end) if not loadedOk then pcall(function() sfx:Destroy() end) return end for _ = 1, DISCORD_MAX_PLAYS do if myToken ~= activeDiscordLoopToken or not screenGui.Parent then break end local playedOk = pcall(function() sfx.TimePosition = 0 sfx:Play() end) if not playedOk then break end local waitDuration = math.max(0.05, sfx.TimeLength) local elapsed = 0 while elapsed < waitDuration do if myToken ~= activeDiscordLoopToken or not screenGui.Parent then break end local dt = task.wait(0.05) elapsed += dt end end pcall(function() sfx:Stop() sfx:Destroy() end) end) end local function tryCopyClipboard(text) if typeof(setclipboard) == "function" then pcall(function() setclipboard(text) end) end end local function makeDraggable(guiObj, onMoved) guiObj.Active = true local dragging = false local dragInput = nil local dragStart = nil local startPos = nil guiObj.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = guiObj.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) guiObj.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 guiObj.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) if onMoved then onMoved(guiObj.Position) end end end) end local colorCatalog = { { Key = "Galaxy", Name = "Galaxy", Primary = Color3.fromRGB(138, 92, 246), Accent = Color3.fromRGB(56, 189, 248), Bg = Color3.fromRGB(14, 13, 24), Card = Color3.fromRGB(22, 20, 38) }, { Key = "Win to Die", Name = "Win to Die", Primary = Color3.fromRGB(225, 29, 72), Accent = Color3.fromRGB(251, 113, 133), Bg = Color3.fromRGB(22, 10, 14), Card = Color3.fromRGB(36, 16, 22) }, { Key = "Cyber Kane", Name = "Cyber Kane", Primary = Color3.fromRGB(6, 182, 212), Accent = Color3.fromRGB(34, 211, 238), Bg = Color3.fromRGB(10, 18, 28), Card = Color3.fromRGB(16, 28, 42) }, { Key = "Pink", Name = "Pink", Primary = Color3.fromRGB(236, 72, 153), Accent = Color3.fromRGB(244, 114, 182), Bg = Color3.fromRGB(24, 11, 20), Card = Color3.fromRGB(38, 17, 32) }, { Key = "Hot Magenta", Name = "Hot Magenta", Primary = Color3.fromRGB(217, 70, 239), Accent = Color3.fromRGB(232, 121, 249), Bg = Color3.fromRGB(22, 10, 26), Card = Color3.fromRGB(35, 16, 40) }, { Key = "Neon Cyan", Name = "Neon Cyan", Primary = Color3.fromRGB(0, 229, 255), Accent = Color3.fromRGB(103, 232, 249), Bg = Color3.fromRGB(8, 20, 26), Card = Color3.fromRGB(14, 32, 40) }, { Key = "Electric Blue", Name = "Electric Blue", Primary = Color3.fromRGB(37, 99, 235), Accent = Color3.fromRGB(96, 165, 250), Bg = Color3.fromRGB(10, 15, 30), Card = Color3.fromRGB(16, 24, 46) }, { Key = "Emerald Vibe", Name = "Emerald Vibe", Primary = Color3.fromRGB(16, 185, 129), Accent = Color3.fromRGB(52, 211, 153), Bg = Color3.fromRGB(9, 22, 18), Card = Color3.fromRGB(15, 35, 28) }, { Key = "Lime Toxic", Name = "Lime Toxic", Primary = Color3.fromRGB(132, 204, 22), Accent = Color3.fromRGB(163, 230, 53), Bg = Color3.fromRGB(15, 22, 9), Card = Color3.fromRGB(24, 35, 15) }, { Key = "Solar Gold", Name = "Solar Gold", Primary = Color3.fromRGB(245, 158, 11), Accent = Color3.fromRGB(251, 191, 36), Bg = Color3.fromRGB(24, 18, 8), Card = Color3.fromRGB(38, 28, 13) }, { Key = "Sunset Orange", Name = "Sunset Orange", Primary = Color3.fromRGB(249, 115, 22), Accent = Color3.fromRGB(251, 146, 60), Bg = Color3.fromRGB(25, 14, 9), Card = Color3.fromRGB(40, 22, 14) }, { Key = "Blood Crimson", Name = "Blood Crimson", Primary = Color3.fromRGB(185, 28, 28), Accent = Color3.fromRGB(248, 113, 113), Bg = Color3.fromRGB(24, 9, 9), Card = Color3.fromRGB(38, 15, 15) }, { Key = "Royal Violet", Name = "Royal Violet", Primary = Color3.fromRGB(124, 58, 237), Accent = Color3.fromRGB(167, 139, 250), Bg = Color3.fromRGB(15, 10, 28), Card = Color3.fromRGB(24, 16, 44) }, { Key = "Mint Frost", Name = "Mint Frost", Primary = Color3.fromRGB(20, 184, 166), Accent = Color3.fromRGB(94, 234, 212), Bg = Color3.fromRGB(9, 22, 21), Card = Color3.fromRGB(15, 35, 34) }, { Key = "Rose Quartz", Name = "Rose Quartz", Primary = Color3.fromRGB(244, 63, 94), Accent = Color3.fromRGB(253, 164, 175), Bg = Color3.fromRGB(25, 10, 15), Card = Color3.fromRGB(40, 16, 24) }, { Key = "Arctic Ice", Name = "Arctic Ice", Primary = Color3.fromRGB(14, 165, 233), Accent = Color3.fromRGB(186, 230, 253), Bg = Color3.fromRGB(10, 19, 28), Card = Color3.fromRGB(16, 30, 44) }, } local customOptions = {} for _, item in ipairs(colorCatalog) do customOptions[item.Key] = item end local currentTheme = customOptions.Galaxy local notificationsEnabled = true local isMenuOpen = false local isAnimating = false local openBtnRestPos = UDim2.new(0, 16, 0.92, -62) local openBtnDropStartPos = UDim2.new(0, 16, 0.72, -62) local notifFrame = Instance.new("Frame") notifFrame.Name = "NotificationBanner" notifFrame.Size = UDim2.new(0, 320, 0, 52) notifFrame.Position = UDim2.new(1, 340, 0, 52) notifFrame.BackgroundColor3 = Color3.fromRGB(18, 16, 32) notifFrame.ZIndex = 35 notifFrame.Parent = screenGui Instance.new("UICorner", notifFrame).CornerRadius = UDim.new(0, 11) local notifStroke = Instance.new("UIStroke") notifStroke.Color = currentTheme.Accent notifStroke.Thickness = 1.6 notifStroke.Parent = notifFrame local notifText = Instance.new("TextLabel") notifText.Size = UDim2.new(1, -14, 1, 0) notifText.Position = UDim2.new(0, 7, 0, 0) notifText.BackgroundTransparency = 1 notifText.Text = HUB_NAME .. " ready" notifText.TextColor3 = Color3.fromRGB(245, 245, 255) notifText.Font = Enum.Font.GothamSemibold notifText.TextSize = 11 notifText.TextWrapped = true notifText.ZIndex = 36 notifText.Parent = notifFrame local function pushNotification(msg) if not notificationsEnabled then return end local cleanMsg = string.gsub(tostring(msg), "#", "") notifText.Text = "★ " .. cleanMsg TweenService:Create(notifFrame, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), { Position = UDim2.new(1, -338, 0, 52) }):Play() task.delay(3.5, function() if notifText.Text == "★ " .. cleanMsg then TweenService:Create(notifFrame, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.In), { Position = UDim2.new(1, 340, 0, 52) }):Play() end end) end local topBarBtn = Instance.new("TextButton") topBarBtn.Name = "GalaxyTopStatusBar" topBarBtn.Size = UDim2.new(0, 340, 0, 30) topBarBtn.Position = UDim2.new(0.5, -170, 0, 10) topBarBtn.BackgroundColor3 = Color3.fromRGB(16, 15, 28) topBarBtn.Text = "" topBarBtn.Visible = false topBarBtn.ZIndex = 20 topBarBtn.Parent = screenGui Instance.new("UICorner", topBarBtn).CornerRadius = UDim.new(0, 10) local topBarStroke = Instance.new("UIStroke") topBarStroke.Color = currentTheme.Accent topBarStroke.Thickness = 1.6 topBarStroke.Parent = topBarBtn local topBarIcon = Instance.new("ImageLabel") topBarIcon.Size = UDim2.new(0, 20, 0, 20) topBarIcon.Position = UDim2.new(0, 8, 0.5, -10) topBarIcon.BackgroundTransparency = 1 topBarIcon.Image = MAIN_OPEN_ICON topBarIcon.ScaleType = Enum.ScaleType.Crop topBarIcon.ZIndex = 21 topBarIcon.Parent = topBarBtn Instance.new("UICorner", topBarIcon).CornerRadius = UDim.new(0, 6) local topBarStatsLbl = Instance.new("TextLabel") topBarStatsLbl.Size = UDim2.new(1, -36, 1, 0) topBarStatsLbl.Position = UDim2.new(0, 34, 0, 0) topBarStatsLbl.BackgroundTransparency = 1 topBarStatsLbl.Text = "FPS: 60 | Time: 00:00 | Wi-Fi: 98%" topBarStatsLbl.TextColor3 = Color3.fromRGB(240, 244, 255) topBarStatsLbl.Font = Enum.Font.GothamBold topBarStatsLbl.TextSize = 11 topBarStatsLbl.TextXAlignment = Enum.TextXAlignment.Left topBarStatsLbl.ZIndex = 21 topBarStatsLbl.Parent = topBarBtn task.spawn(function() local frames = 0 local accum = 0 local currentFps = 60 RunService.RenderStepped:Connect(function(dt) frames += 1 accum += dt if accum >= 0.5 then currentFps = math.clamp(math.round(frames / accum), 1, 999) frames = 0 accum = 0 end end) while screenGui.Parent do local timeStr = os.date("%H:%M") local wifiPercent = 98 pcall(function() local net = Stats and Stats:FindFirstChild("Network") local serverStats = net and net:FindFirstChild("ServerStatsItem") local pingItem = serverStats and serverStats:FindFirstChild("Data Ping") if pingItem then local pingMs = pingItem:GetValue() if typeof(pingMs) == "number" then wifiPercent = math.clamp(math.round(100 - (pingMs / 4)), 15, 100) end end end) topBarStatsLbl.Text = string.format("FPS: %d | Time: %s | Wi-Fi: %d%%", currentFps, timeStr, wifiPercent) task.wait(0.5) end end) local openButton = Instance.new("ImageButton") openButton.Name = "GalaxyOpenButton" openButton.Size = UDim2.new(0, 62, 0, 62) openButton.Position = openBtnRestPos openButton.BackgroundColor3 = Color3.fromRGB(16, 15, 28) openButton.Image = MAIN_OPEN_ICON openButton.ImageColor3 = Color3.fromRGB(255, 255, 255) openButton.ScaleType = Enum.ScaleType.Crop openButton.AutoButtonColor = false openButton.Visible = false openButton.ZIndex = 5 openButton.Parent = screenGui Instance.new("UICorner", openButton).CornerRadius = UDim.new(0, 16) local openBtnStroke = Instance.new("UIStroke") openBtnStroke.Color = currentTheme.Primary openBtnStroke.Thickness = 2.5 openBtnStroke.Parent = openButton local openBtnScale = Instance.new("UIScale") openBtnScale.Scale = 1 openBtnScale.Parent = openButton local starPalette = { Color3.fromRGB(56, 189, 248), Color3.fromRGB(192, 132, 252), Color3.fromRGB(244, 114, 182), Color3.fromRGB(255, 255, 255), } local starHolder = Instance.new("Frame") starHolder.Name = "StarSparkles" starHolder.Size = UDim2.new(0, 122, 0, 122) starHolder.BackgroundTransparency = 1 starHolder.Visible = false starHolder.ZIndex = 4 starHolder.Parent = screenGui local function syncStarsToButton(pos) starHolder.Position = UDim2.new( pos.X.Scale, pos.X.Offset - 30, pos.Y.Scale, pos.Y.Offset - 30 ) end syncStarsToButton(openButton.Position) local starConfigs = { { pos = UDim2.new(0.02, 0, 0.14, 0), glyph = "★", size = 24 }, { pos = UDim2.new(0.76, 0, 0.04, 0), glyph = "✦", size = 26 }, { pos = UDim2.new(0.82, 0, 0.72, 0), glyph = "★", size = 24 }, { pos = UDim2.new(0.08, 0, 0.78, 0), glyph = "✦", size = 26 }, } local stars = {} for i, cfg in ipairs(starConfigs) do local star = Instance.new("TextLabel") star.Size = UDim2.new(0, 30, 0, 30) star.Position = cfg.pos star.BackgroundTransparency = 1 star.Text = cfg.glyph star.Font = Enum.Font.GothamBold star.TextSize = cfg.size star.TextColor3 = starPalette[i] star.ZIndex = 6 star.Parent = starHolder table.insert(stars, star) end task.spawn(function() local idx = 1 while screenGui.Parent do idx += 1 for sIndex, star in ipairs(stars) do local nextColor = starPalette[((idx + sIndex) % #starPalette) + 1] TweenService:Create(star, TweenInfo.new(0.55, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { TextColor3 = nextColor }):Play() end task.wait(0.85) end end) local function applyOpenModeVisuals() if isMenuOpen then openButton.Visible = false starHolder.Visible = false topBarBtn.Visible = false return end if openMode == "TopBar" then topBarBtn.Visible = true openButton.Visible = false starHolder.Visible = false elseif openMode == "ButtonAndTopBar" then topBarBtn.Visible = true openButton.Visible = true starHolder.Visible = true syncStarsToButton(openButton.Position) else topBarBtn.Visible = false openButton.Visible = true starHolder.Visible = true syncStarsToButton(openButton.Position) end end makeDraggable(openButton, function(newPos) syncStarsToButton(newPos) end) local mainWindow = Instance.new("Frame") mainWindow.Name = "GalaxyHubWindow" mainWindow.Size = UDim2.new(0, 550, 0, 330) mainWindow.Position = UDim2.new(0.54, -275, 0.44, -165) mainWindow.BackgroundColor3 = currentTheme.Bg mainWindow.Visible = false mainWindow.ClipsDescendants = true mainWindow.ZIndex = 8 mainWindow.Parent = screenGui Instance.new("UICorner", mainWindow).CornerRadius = UDim.new(0, 15) makeDraggable(mainWindow) local windowStroke = Instance.new("UIStroke") windowStroke.Color = currentTheme.Primary windowStroke.Thickness = 2 windowStroke.Parent = mainWindow local windowScale = Instance.new("UIScale") windowScale.Scale = 0.85 windowScale.Parent = mainWindow local sidebar = Instance.new("Frame") sidebar.Size = UDim2.new(0, 142, 1, -46) sidebar.Position = UDim2.new(0, 0, 0, 0) sidebar.BackgroundColor3 = Color3.fromRGB(11, 10, 20) sidebar.ZIndex = 9 sidebar.Parent = mainWindow local brandTitle = Instance.new("TextLabel") brandTitle.Size = UDim2.new(1, -12, 0, 36) brandTitle.Position = UDim2.new(0, 10, 0, 6) brandTitle.BackgroundTransparency = 1 brandTitle.Text = "★ " .. string.upper(HUB_NAME) brandTitle.TextColor3 = Color3.fromRGB(245, 243, 255) brandTitle.Font = Enum.Font.GothamBold brandTitle.TextSize = 12 brandTitle.TextXAlignment = Enum.TextXAlignment.Left brandTitle.ZIndex = 10 brandTitle.Parent = sidebar local tabNames = { "Home", "Main", "Scripts", "Visual", "Settings" } local tabButtons = {} local pages = {} local contentArea = Instance.new("Frame") contentArea.Size = UDim2.new(1, -152, 1, -54) contentArea.Position = UDim2.new(0, 147, 0, 7) contentArea.BackgroundColor3 = currentTheme.Card contentArea.ZIndex = 9 contentArea.Parent = mainWindow Instance.new("UICorner", contentArea).CornerRadius = UDim.new(0, 11) local bottomBar = Instance.new("Frame") bottomBar.Name = "BottomControls" bottomBar.Size = UDim2.new(1, -16, 0, 34) bottomBar.Position = UDim2.new(0, 8, 1, -40) bottomBar.BackgroundColor3 = Color3.fromRGB(16, 15, 28) bottomBar.ZIndex = 10 bottomBar.Parent = mainWindow Instance.new("UICorner", bottomBar).CornerRadius = UDim.new(0, 9) local bottomBarStroke = Instance.new("UIStroke") bottomBarStroke.Color = currentTheme.Accent bottomBarStroke.Thickness = 1.4 bottomBarStroke.Parent = bottomBar local function makeQuickBtn(text, xOffset) local b = Instance.new("TextButton") b.Size = UDim2.new(0, 86, 0, 24) b.Position = UDim2.new(0, xOffset, 0.5, -12) b.BackgroundColor3 = Color3.fromRGB(28, 25, 48) b.TextColor3 = Color3.fromRGB(235, 235, 255) b.Text = text b.Font = Enum.Font.GothamSemibold b.TextSize = 11 b.ZIndex = 11 b.Parent = bottomBar Instance.new("UICorner", b).CornerRadius = UDim.new(0, 6) return b end local quickHomeBtn = makeQuickBtn("Home", 6) local quickScriptsBtn = makeQuickBtn("Scripts", 98) local quickVisualBtn = makeQuickBtn("Visual", 190) local closeXBtn = Instance.new("TextButton") closeXBtn.Name = "CloseXButton" closeXBtn.Size = UDim2.new(0, 34, 0, 24) closeXBtn.Position = UDim2.new(1, -40, 0.5, -12) closeXBtn.BackgroundColor3 = Color3.fromRGB(185, 28, 60) closeXBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeXBtn.Text = "X" closeXBtn.Font = Enum.Font.GothamBold closeXBtn.TextSize = 13 closeXBtn.ZIndex = 11 closeXBtn.Parent = bottomBar Instance.new("UICorner", closeXBtn).CornerRadius = UDim.new(0, 6) local restartCircleBtn = Instance.new("TextButton") restartCircleBtn.Name = "RestartSpinCircleButton" restartCircleBtn.Size = UDim2.new(0, 26, 0, 26) restartCircleBtn.Position = UDim2.new(1, -72, 0.5, -13) restartCircleBtn.BackgroundColor3 = Color3.fromRGB(28, 25, 48) restartCircleBtn.TextColor3 = Color3.fromRGB(56, 189, 248) restartCircleBtn.Text = "↻" restartCircleBtn.Font = Enum.Font.GothamBold restartCircleBtn.TextSize = 14 restartCircleBtn.AutoButtonColor = false restartCircleBtn.ZIndex = 11 restartCircleBtn.Parent = bottomBar Instance.new("UICorner", restartCircleBtn).CornerRadius = UDim.new(1, 0) local restartCircleStroke = Instance.new("UIStroke") restartCircleStroke.Color = currentTheme.Primary restartCircleStroke.Thickness = 2 restartCircleStroke.Parent = restartCircleBtn task.spawn(function() while screenGui.Parent do restartCircleBtn.Rotation += 3.5 task.wait(0.02) end end) local confirmOverlay = Instance.new("Frame") confirmOverlay.Name = "RestartConfirmOverlay" confirmOverlay.Size = UDim2.new(1, 0, 1, 0) confirmOverlay.Position = UDim2.new(0, 0, 0, 0) confirmOverlay.BackgroundColor3 = Color3.fromRGB(5, 5, 10) confirmOverlay.BackgroundTransparency = 0.45 confirmOverlay.Visible = false confirmOverlay.ZIndex = 50 confirmOverlay.Parent = screenGui local confirmCard = Instance.new("Frame") confirmCard.Name = "RestartConfirmCard" confirmCard.Size = UDim2.new(0, 320, 0, 136) confirmCard.Position = UDim2.new(0.5, -160, 0.5, -68) confirmCard.BackgroundColor3 = Color3.fromRGB(18, 16, 32) confirmCard.ZIndex = 51 confirmCard.Parent = confirmOverlay Instance.new("UICorner", confirmCard).CornerRadius = UDim.new(0, 14) local confirmStroke = Instance.new("UIStroke") confirmStroke.Color = currentTheme.Primary confirmStroke.Thickness = 2 confirmStroke.Parent = confirmCard local confirmQuestionLbl = Instance.new("TextLabel") confirmQuestionLbl.Size = UDim2.new(1, -24, 0, 58) confirmQuestionLbl.Position = UDim2.new(0, 12, 0, 14) confirmQuestionLbl.BackgroundTransparency = 1 confirmQuestionLbl.Text = "Are you sure you want to restart the menu?" confirmQuestionLbl.TextColor3 = Color3.fromRGB(245, 243, 255) confirmQuestionLbl.Font = Enum.Font.GothamBold confirmQuestionLbl.TextSize = 13 confirmQuestionLbl.TextWrapped = true confirmQuestionLbl.ZIndex = 52 confirmQuestionLbl.Parent = confirmCard local yesRestartBtn = Instance.new("TextButton") yesRestartBtn.Name = "YesRestartButton" yesRestartBtn.Size = UDim2.new(0, 126, 0, 34) yesRestartBtn.Position = UDim2.new(0, 24, 1, -48) yesRestartBtn.BackgroundColor3 = Color3.fromRGB(22, 163, 74) yesRestartBtn.TextColor3 = Color3.fromRGB(255, 255, 255) yesRestartBtn.Text = "Yes" yesRestartBtn.Font = Enum.Font.GothamBold yesRestartBtn.TextSize = 13 yesRestartBtn.ZIndex = 52 yesRestartBtn.Parent = confirmCard Instance.new("UICorner", yesRestartBtn).CornerRadius = UDim.new(0, 8) local noRestartBtn = Instance.new("TextButton") noRestartBtn.Name = "NoRestartButton" noRestartBtn.Size = UDim2.new(0, 126, 0, 34) noRestartBtn.Position = UDim2.new(1, -150, 1, -48) noRestartBtn.BackgroundColor3 = Color3.fromRGB(185, 28, 60) noRestartBtn.TextColor3 = Color3.fromRGB(255, 255, 255) noRestartBtn.Text = "No" noRestartBtn.Font = Enum.Font.GothamBold noRestartBtn.TextSize = 13 noRestartBtn.ZIndex = 52 noRestartBtn.Parent = confirmCard Instance.new("UICorner", noRestartBtn).CornerRadius = UDim.new(0, 8) local colorPopupOverlay = Instance.new("Frame") colorPopupOverlay.Name = "ColorChoicePopupOverlay" colorPopupOverlay.Size = UDim2.new(1, 0, 1, 0) colorPopupOverlay.Position = UDim2.new(0, 0, 0, 0) colorPopupOverlay.BackgroundColor3 = Color3.fromRGB(5, 5, 10) colorPopupOverlay.BackgroundTransparency = 0.45 colorPopupOverlay.Visible = false colorPopupOverlay.ZIndex = 55 colorPopupOverlay.Parent = screenGui local colorPopupCard = Instance.new("Frame") colorPopupCard.Name = "ColorChoicePopupCard" colorPopupCard.Size = UDim2.new(0, 444, 0, 244) colorPopupCard.Position = UDim2.new(0.5, -222, 0.5, -122) colorPopupCard.BackgroundColor3 = Color3.fromRGB(18, 16, 32) colorPopupCard.ZIndex = 56 colorPopupCard.Parent = colorPopupOverlay Instance.new("UICorner", colorPopupCard).CornerRadius = UDim.new(0, 14) local colorPopupStroke = Instance.new("UIStroke") colorPopupStroke.Color = currentTheme.Accent colorPopupStroke.Thickness = 2 colorPopupStroke.Parent = colorPopupCard local colorQuestionLbl = Instance.new("TextLabel") colorQuestionLbl.Size = UDim2.new(1, -24, 0, 28) colorQuestionLbl.Position = UDim2.new(0, 12, 0, 8) colorQuestionLbl.BackgroundTransparency = 1 colorQuestionLbl.Text = "What color do you want?" colorQuestionLbl.TextColor3 = Color3.fromRGB(245, 243, 255) colorQuestionLbl.Font = Enum.Font.GothamBold colorQuestionLbl.TextSize = 15 colorQuestionLbl.ZIndex = 57 colorQuestionLbl.Parent = colorPopupCard local colorPopupScroll = Instance.new("ScrollingFrame") colorPopupScroll.Size = UDim2.new(1, -24, 0, 162) colorPopupScroll.Position = UDim2.new(0, 12, 0, 40) colorPopupScroll.BackgroundColor3 = Color3.fromRGB(12, 11, 22) colorPopupScroll.ScrollBarThickness = 4 colorPopupScroll.CanvasSize = UDim2.new(0, 0, 0, 220) colorPopupScroll.ZIndex = 57 colorPopupScroll.Parent = colorPopupCard Instance.new("UICorner", colorPopupScroll).CornerRadius = UDim.new(0, 10) local popupGrid = Instance.new("UIGridLayout") popupGrid.CellSize = UDim2.new(0, 130, 0, 30) popupGrid.CellPadding = UDim2.new(0, 8, 0, 6) popupGrid.SortOrder = Enum.SortOrder.LayoutOrder popupGrid.Parent = colorPopupScroll local popupGridPad = Instance.new("UIPadding") popupGridPad.PaddingTop = UDim.new(0, 8) popupGridPad.PaddingLeft = UDim.new(0, 8) popupGridPad.PaddingRight = UDim.new(0, 8) popupGridPad.PaddingBottom = UDim.new(0, 8) popupGridPad.Parent = colorPopupScroll local cancelColorPopupBtn = Instance.new("TextButton") cancelColorPopupBtn.Name = "CancelColorPopupBtn" cancelColorPopupBtn.Size = UDim2.new(0, 104, 0, 24) cancelColorPopupBtn.Position = UDim2.new(0.5, -52, 1, -30) cancelColorPopupBtn.BackgroundColor3 = Color3.fromRGB(30, 28, 52) cancelColorPopupBtn.TextColor3 = Color3.fromRGB(203, 213, 225) cancelColorPopupBtn.Text = "Cancel" cancelColorPopupBtn.Font = Enum.Font.GothamSemibold cancelColorPopupBtn.TextSize = 11 cancelColorPopupBtn.ZIndex = 57 cancelColorPopupBtn.Parent = colorPopupCard Instance.new("UICorner", cancelColorPopupBtn).CornerRadius = UDim.new(0, 6) local ownerPopupOverlay = Instance.new("Frame") ownerPopupOverlay.Name = "OwnerInfoPopupOverlay" ownerPopupOverlay.Size = UDim2.new(1, 0, 1, 0) ownerPopupOverlay.Position = UDim2.new(0, 0, 0, 0) ownerPopupOverlay.BackgroundColor3 = Color3.fromRGB(5, 5, 10) ownerPopupOverlay.BackgroundTransparency = 0.45 ownerPopupOverlay.Visible = false ownerPopupOverlay.ZIndex = 58 ownerPopupOverlay.Parent = screenGui local ownerPopupCard = Instance.new("Frame") ownerPopupCard.Name = "OwnerInfoPopupCard" ownerPopupCard.Size = UDim2.new(0, 384, 0, 174) ownerPopupCard.Position = UDim2.new(0.5, -192, 0.5, -87) ownerPopupCard.BackgroundColor3 = Color3.fromRGB(18, 16, 32) ownerPopupCard.ZIndex = 59 ownerPopupCard.Parent = ownerPopupOverlay Instance.new("UICorner", ownerPopupCard).CornerRadius = UDim.new(0, 14) local ownerPopupStroke = Instance.new("UIStroke") ownerPopupStroke.Color = Color3.fromRGB(192, 132, 252) ownerPopupStroke.Thickness = 2 ownerPopupStroke.Parent = ownerPopupCard local ownerPopupTitle = Instance.new("TextLabel") ownerPopupTitle.Size = UDim2.new(1, -24, 0, 24) ownerPopupTitle.Position = UDim2.new(0, 12, 0, 10) ownerPopupTitle.BackgroundTransparency = 1 ownerPopupTitle.Text = "★ THE OWNER — " .. OWNER_USERNAME ownerPopupTitle.TextColor3 = Color3.fromRGB(192, 132, 252) ownerPopupTitle.Font = Enum.Font.GothamBold ownerPopupTitle.TextSize = 13 ownerPopupTitle.ZIndex = 60 ownerPopupTitle.Parent = ownerPopupCard local ownerPopupMsg = Instance.new("TextLabel") ownerPopupMsg.Size = UDim2.new(1, -28, 0, 84) ownerPopupMsg.Position = UDim2.new(0, 14, 0, 38) ownerPopupMsg.BackgroundTransparency = 1 ownerPopupMsg.Text = "The owner worked hard to make this script smooth and reliable. Username: " .. OWNER_USERNAME ownerPopupMsg.TextColor3 = Color3.fromRGB(245, 243, 255) ownerPopupMsg.Font = Enum.Font.GothamSemibold ownerPopupMsg.TextSize = 12 ownerPopupMsg.TextWrapped = true ownerPopupMsg.ZIndex = 60 ownerPopupMsg.Parent = ownerPopupCard local closeOwnerPopupBtn = Instance.new("TextButton") closeOwnerPopupBtn.Name = "CloseOwnerPopupBtn" closeOwnerPopupBtn.Size = UDim2.new(0, 118, 0, 30) closeOwnerPopupBtn.Position = UDim2.new(0.5, -59, 1, -40) closeOwnerPopupBtn.BackgroundColor3 = Color3.fromRGB(109, 40, 217) closeOwnerPopupBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeOwnerPopupBtn.Text = "OK" closeOwnerPopupBtn.Font = Enum.Font.GothamBold closeOwnerPopupBtn.TextSize = 12 closeOwnerPopupBtn.ZIndex = 60 closeOwnerPopupBtn.Parent = ownerPopupCard Instance.new("UICorner", closeOwnerPopupBtn).CornerRadius = UDim.new(0, 8) local whiteSweepFlash = Instance.new("Frame") whiteSweepFlash.Name = "WhiteColorAnimationSweep" whiteSweepFlash.Size = UDim2.new(1, 0, 1, 0) whiteSweepFlash.Position = UDim2.new(-1, 0, 0, 0) whiteSweepFlash.BackgroundColor3 = Color3.fromRGB(255, 255, 255) whiteSweepFlash.BackgroundTransparency = 0.25 whiteSweepFlash.BorderSizePixel = 0 whiteSweepFlash.Visible = false whiteSweepFlash.ZIndex = 90 whiteSweepFlash.Parent = screenGui local function makePage(name) local frame = Instance.new("Frame") frame.Name = name .. "Page" frame.Size = UDim2.new(1, -16, 1, -16) frame.Position = UDim2.new(0, 8, 0, 8) frame.BackgroundTransparency = 1 frame.Visible = false frame.ZIndex = 10 frame.Parent = contentArea return frame end for _, tabName in ipairs(tabNames) do pages[tabName] = makePage(tabName) end -- ========================================== -- 1. HOME -- ========================================== local homeScroll = Instance.new("ScrollingFrame") homeScroll.Name = "HomeScrollArea" homeScroll.Size = UDim2.new(1, 0, 1, -48) homeScroll.Position = UDim2.new(0, 0, 0, 0) homeScroll.BackgroundTransparency = 1 homeScroll.ScrollBarThickness = 3 homeScroll.CanvasSize = UDim2.new(0, 0, 0, 232) homeScroll.ZIndex = 11 homeScroll.Parent = pages.Home local homeTitle = Instance.new("TextLabel") homeTitle.Size = UDim2.new(1, 0, 0, 20) homeTitle.BackgroundTransparency = 1 homeTitle.Text = HUB_NAME .. " — Info & Versions" homeTitle.TextColor3 = Color3.fromRGB(245, 243, 255) homeTitle.Font = Enum.Font.GothamBold homeTitle.TextSize = 14 homeTitle.TextXAlignment = Enum.TextXAlignment.Left homeTitle.ZIndex = 12 homeTitle.Parent = homeScroll local infoCard = Instance.new("Frame") infoCard.Name = "VersionAndInfoCard" infoCard.Size = UDim2.new(1, -4, 0, 74) infoCard.Position = UDim2.new(0, 0, 0, 24) infoCard.BackgroundColor3 = Color3.fromRGB(15, 14, 26) infoCard.ZIndex = 12 infoCard.Parent = homeScroll Instance.new("UICorner", infoCard).CornerRadius = UDim.new(0, 9) local infoCardTitle = Instance.new("TextLabel") infoCardTitle.Size = UDim2.new(1, -14, 0, 18) infoCardTitle.Position = UDim2.new(0, 8, 0, 4) infoCardTitle.BackgroundTransparency = 1 infoCardTitle.Text = "VERSIONS & INFO" infoCardTitle.TextColor3 = Color3.fromRGB(192, 132, 252) infoCardTitle.Font = Enum.Font.GothamBold infoCardTitle.TextSize = 11 infoCardTitle.TextXAlignment = Enum.TextXAlignment.Left infoCardTitle.ZIndex = 13 infoCardTitle.Parent = infoCard local versionDetailsLabel = Instance.new("TextLabel") versionDetailsLabel.Size = UDim2.new(1, -14, 0, 48) versionDetailsLabel.Position = UDim2.new(0, 8, 0, 22) versionDetailsLabel.BackgroundTransparency = 1 versionDetailsLabel.Text = "Hub Version: " .. HUB_VERSION .. " | " .. ENGINE_VERSION .. "\nStatus: Active & Unlocked | Menu & button are draggable." versionDetailsLabel.TextColor3 = Color3.fromRGB(215, 215, 235) versionDetailsLabel.Font = Enum.Font.Gotham versionDetailsLabel.TextSize = 11 versionDetailsLabel.TextXAlignment = Enum.TextXAlignment.Left versionDetailsLabel.TextYAlignment = Enum.TextYAlignment.Top versionDetailsLabel.TextWrapped = true versionDetailsLabel.ZIndex = 13 versionDetailsLabel.Parent = infoCard local playerInfoCard = Instance.new("Frame") playerInfoCard.Name = "PlayerInformationCard" playerInfoCard.Size = UDim2.new(1, -4, 0, 124) playerInfoCard.Position = UDim2.new(0, 0, 0, 104) playerInfoCard.BackgroundColor3 = Color3.fromRGB(15, 14, 26) playerInfoCard.ClipsDescendants = true playerInfoCard.ZIndex = 12 playerInfoCard.Parent = homeScroll Instance.new("UICorner", playerInfoCard).CornerRadius = UDim.new(0, 9) local playerInfoHeader = Instance.new("TextLabel") playerInfoHeader.Size = UDim2.new(1, -14, 0, 18) playerInfoHeader.Position = UDim2.new(0, 8, 0, 4) playerInfoHeader.BackgroundTransparency = 1 playerInfoHeader.Text = "PLAYER INFORMATION" playerInfoHeader.TextColor3 = Color3.fromRGB(56, 189, 248) playerInfoHeader.Font = Enum.Font.GothamBold playerInfoHeader.TextSize = 11 playerInfoHeader.TextXAlignment = Enum.TextXAlignment.Left playerInfoHeader.ZIndex = 13 playerInfoHeader.Parent = playerInfoCard local playerLoadingLbl = Instance.new("TextLabel") playerLoadingLbl.Name = "PlayerInfoLoadingLabel" playerLoadingLbl.Size = UDim2.new(1, -16, 1, -24) playerLoadingLbl.Position = UDim2.new(0, 8, 0, 22) playerLoadingLbl.BackgroundTransparency = 1 playerLoadingLbl.Text = "Loading Player Information..." playerLoadingLbl.TextColor3 = Color3.fromRGB(196, 181, 253) playerLoadingLbl.Font = Enum.Font.GothamSemibold playerLoadingLbl.TextSize = 11 playerLoadingLbl.ZIndex = 15 playerLoadingLbl.Parent = playerInfoCard local playerDetailsBody = Instance.new("Frame") playerDetailsBody.Name = "PlayerInfoAnimatedBody" playerDetailsBody.Size = UDim2.new(1, -12, 0, 96) playerDetailsBody.Position = UDim2.new(0, 6, 0, 24) playerDetailsBody.BackgroundTransparency = 1 playerDetailsBody.Visible = false playerDetailsBody.ZIndex = 13 playerDetailsBody.Parent = playerInfoCard local playerBodyScale = Instance.new("UIScale") playerBodyScale.Scale = 0.85 playerBodyScale.Parent = playerDetailsBody local avatarImg = Instance.new("ImageLabel") avatarImg.Name = "PlayerAvatarImage" avatarImg.Size = UDim2.new(0, 56, 0, 56) avatarImg.Position = UDim2.new(0, 0, 0, 2) avatarImg.BackgroundColor3 = Color3.fromRGB(25, 23, 44) avatarImg.Image = MAIN_OPEN_ICON avatarImg.ImageTransparency = 1 avatarImg.ScaleType = Enum.ScaleType.Crop avatarImg.ZIndex = 14 avatarImg.Parent = playerDetailsBody Instance.new("UICorner", avatarImg).CornerRadius = UDim.new(0, 12) local nicknameLbl = Instance.new("TextLabel") nicknameLbl.Name = "PlayerNicknameLabel" nicknameLbl.Size = UDim2.new(1, -66, 0, 18) nicknameLbl.Position = UDim2.new(0, 64, 0, 0) nicknameLbl.BackgroundTransparency = 1 nicknameLbl.Text = "Nickname: " .. (player.DisplayName or player.Name) nicknameLbl.TextColor3 = Color3.fromRGB(255, 255, 255) nicknameLbl.TextTransparency = 1 nicknameLbl.Font = Enum.Font.GothamBold nicknameLbl.TextSize = 12 nicknameLbl.TextXAlignment = Enum.TextXAlignment.Left nicknameLbl.TextTruncate = Enum.TextTruncate.AtEnd nicknameLbl.ZIndex = 14 nicknameLbl.Parent = playerDetailsBody local usernameLbl = Instance.new("TextLabel") usernameLbl.Name = "PlayerUsernameLabel" usernameLbl.Size = UDim2.new(1, -66, 0, 16) usernameLbl.Position = UDim2.new(0, 64, 0, 17) usernameLbl.BackgroundTransparency = 1 usernameLbl.Text = "Username: @" .. player.Name usernameLbl.TextColor3 = Color3.fromRGB(165, 243, 252) usernameLbl.TextTransparency = 1 usernameLbl.Font = Enum.Font.GothamSemibold usernameLbl.TextSize = 11 usernameLbl.TextXAlignment = Enum.TextXAlignment.Left usernameLbl.TextTruncate = Enum.TextTruncate.AtEnd usernameLbl.ZIndex = 14 usernameLbl.Parent = playerDetailsBody local usernameConcealCover = Instance.new("Frame") usernameConcealCover.Name = "UsernameConcealCover" usernameConcealCover.Size = UDim2.new(1, -66, 0, 16) usernameConcealCover.Position = UDim2.new(0, 64, 0, 17) usernameConcealCover.BackgroundColor3 = Color3.fromRGB(30, 27, 54) usernameConcealCover.BackgroundTransparency = 1 usernameConcealCover.ZIndex = 15 usernameConcealCover.Parent = playerDetailsBody Instance.new("UICorner", usernameConcealCover).CornerRadius = UDim.new(0, 4) local bioLbl = Instance.new("TextLabel") bioLbl.Name = "PlayerDescriptionLabel" bioLbl.Size = UDim2.new(1, -66, 0, 32) bioLbl.Position = UDim2.new(0, 64, 0, 34) bioLbl.BackgroundTransparency = 1 bioLbl.Text = "Description: Loading..." bioLbl.TextColor3 = Color3.fromRGB(210, 212, 232) bioLbl.TextTransparency = 1 bioLbl.Font = Enum.Font.Gotham bioLbl.TextSize = 10 bioLbl.TextXAlignment = Enum.TextXAlignment.Left bioLbl.TextYAlignment = Enum.TextYAlignment.Top bioLbl.TextWrapped = true bioLbl.ZIndex = 14 bioLbl.Parent = playerDetailsBody local playerIdLbl = Instance.new("TextLabel") playerIdLbl.Name = "PlayerIdLabel" playerIdLbl.Size = UDim2.new(1, 0, 0, 18) playerIdLbl.Position = UDim2.new(0, 0, 0, 74) playerIdLbl.BackgroundTransparency = 1 playerIdLbl.Text = "Player ID: " .. tostring(player.UserId) playerIdLbl.TextColor3 = Color3.fromRGB(192, 132, 252) playerIdLbl.TextTransparency = 1 playerIdLbl.Font = Enum.Font.GothamBold playerIdLbl.TextSize = 11 playerIdLbl.TextXAlignment = Enum.TextXAlignment.Left playerIdLbl.ZIndex = 14 playerIdLbl.Parent = playerDetailsBody task.spawn(function() local fetchedBio = "No Roblox description set." pcall(function() local info = Players:GetUserInfosByUserIdsAsync({ player.UserId }) if info and info[1] and typeof(info[1].Description) == "string" and info[1].Description ~= "" then fetchedBio = info[1].Description end end) bioLbl.Text = "Description: " .. fetchedBio pcall(function() local thumbUrl = Players:GetUserThumbnailAsync(player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size100x100) if thumbUrl then avatarImg.Image = thumbUrl end end) local dots = { ".", "..", "..." } for i = 1, 6 do if not screenGui.Parent then return end playerLoadingLbl.Text = "Loading Player Information" .. dots[((i - 1) % #dots) + 1] task.wait(0.22) end playerLoadingLbl.Visible = false playerDetailsBody.Visible = true usernameConcealCover.BackgroundTransparency = 0.08 TweenService:Create(playerBodyScale, TweenInfo.new(0.45, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Scale = 1 }):Play() TweenService:Create(avatarImg, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { ImageTransparency = 0 }):Play() TweenService:Create(nicknameLbl, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { TextTransparency = 0 }):Play() TweenService:Create(usernameLbl, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { TextTransparency = 0 }):Play() TweenService:Create(bioLbl, TweenInfo.new(0.45, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { TextTransparency = 0 }):Play() TweenService:Create(playerIdLbl, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { TextTransparency = 0 }):Play() task.wait(1.1) TweenService:Create(usernameConcealCover, TweenInfo.new(0.55, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), { BackgroundTransparency = 1 }):Play() end) local discordImageBtn = Instance.new("ImageButton") discordImageBtn.Name = "DiscordImageButton" discordImageBtn.Size = UDim2.new(0, 40, 0, 40) discordImageBtn.Position = UDim2.new(0, 0, 1, -40) discordImageBtn.BackgroundColor3 = Color3.fromRGB(24, 22, 42) discordImageBtn.Image = DISCORD_BTN_ICON discordImageBtn.ScaleType = Enum.ScaleType.Crop discordImageBtn.AutoButtonColor = false discordImageBtn.ZIndex = 12 discordImageBtn.Parent = pages.Home Instance.new("UICorner", discordImageBtn).CornerRadius = UDim.new(0, 10) local discordStroke = Instance.new("UIStroke") discordStroke.Color = Color3.fromRGB(129, 140, 248) discordStroke.Thickness = 2 discordStroke.Parent = discordImageBtn local discordBtnScale = Instance.new("UIScale") discordBtnScale.Scale = 1 discordBtnScale.Parent = discordImageBtn local helpLabel = Instance.new("TextLabel") helpLabel.Size = UDim2.new(1, -50, 0, 40) helpLabel.Position = UDim2.new(0, 48, 1, -40) helpLabel.BackgroundTransparency = 1 helpLabel.Text = "Need more help? Click the Discord icon to copy the invite." helpLabel.TextColor3 = Color3.fromRGB(165, 243, 252) helpLabel.Font = Enum.Font.GothamSemibold helpLabel.TextSize = 11 helpLabel.TextXAlignment = Enum.TextXAlignment.Left helpLabel.TextWrapped = true helpLabel.ZIndex = 11 helpLabel.Parent = pages.Home -- ========================================== -- 2. MAIN + FLY -- ========================================== local mainTitle = Instance.new("TextLabel") mainTitle.Size = UDim2.new(1, 0, 0, 26) mainTitle.BackgroundTransparency = 1 mainTitle.Text = "MAIN // SELF ACTIONS & FLY" mainTitle.TextColor3 = Color3.fromRGB(240, 240, 255) mainTitle.Font = Enum.Font.GothamBold mainTitle.TextSize = 14 mainTitle.TextXAlignment = Enum.TextXAlignment.Left mainTitle.ZIndex = 11 mainTitle.Parent = pages.Main local dropKickBtn = Instance.new("TextButton") dropKickBtn.Name = "DropKickSelfButton" dropKickBtn.Size = UDim2.new(0, 182, 0, 34) dropKickBtn.Position = UDim2.new(0, 0, 0, 34) dropKickBtn.BackgroundColor3 = Color3.fromRGB(109, 40, 217) dropKickBtn.TextColor3 = Color3.fromRGB(255, 255, 255) dropKickBtn.Text = "⚡ Drop Kick (Self)" dropKickBtn.Font = Enum.Font.GothamBold dropKickBtn.TextSize = 12 dropKickBtn.ZIndex = 11 dropKickBtn.Parent = pages.Main Instance.new("UICorner", dropKickBtn).CornerRadius = UDim.new(0, 8) local openFlyPanelBtn = Instance.new("TextButton") openFlyPanelBtn.Name = "OpenGalaxyFlyBtn" openFlyPanelBtn.Size = UDim2.new(0, 200, 0, 34) openFlyPanelBtn.Position = UDim2.new(0, 190, 0, 34) openFlyPanelBtn.BackgroundColor3 = Color3.fromRGB(37, 99, 235) openFlyPanelBtn.TextColor3 = Color3.fromRGB(255, 255, 255) openFlyPanelBtn.Text = "✦ Galaxy Hub Fly" openFlyPanelBtn.Font = Enum.Font.GothamBold openFlyPanelBtn.TextSize = 12 openFlyPanelBtn.ZIndex = 11 openFlyPanelBtn.Parent = pages.Main Instance.new("UICorner", openFlyPanelBtn).CornerRadius = UDim.new(0, 8) local flyInlineCard = Instance.new("Frame") flyInlineCard.Name = "MainFlyStatusCard" flyInlineCard.Size = UDim2.new(1, 0, 0, 82) flyInlineCard.Position = UDim2.new(0, 0, 0, 78) flyInlineCard.BackgroundColor3 = Color3.fromRGB(14, 13, 25) flyInlineCard.ZIndex = 11 flyInlineCard.Parent = pages.Main Instance.new("UICorner", flyInlineCard).CornerRadius = UDim.new(0, 9) local flyInlineTitle = Instance.new("TextLabel") flyInlineTitle.Size = UDim2.new(1, -14, 0, 20) flyInlineTitle.Position = UDim2.new(0, 8, 0, 5) flyInlineTitle.BackgroundTransparency = 1 flyInlineTitle.Text = "Galaxy Hub Fly — Activate from Main" flyInlineTitle.TextColor3 = Color3.fromRGB(56, 189, 248) flyInlineTitle.Font = Enum.Font.GothamBold flyInlineTitle.TextSize = 11 flyInlineTitle.TextXAlignment = Enum.TextXAlignment.Left flyInlineTitle.ZIndex = 12 flyInlineTitle.Parent = flyInlineCard local flyInlineDesc = Instance.new("TextLabel") flyInlineDesc.Size = UDim2.new(1, -14, 0, 48) flyInlineDesc.Position = UDim2.new(0, 8, 0, 26) flyInlineDesc.BackgroundTransparency = 1 flyInlineDesc.Text = "• Activate from Main ('Galaxy Hub Fly') to show the 'Fly' button.\n• Stands normally when idle & glides smoothly when moving.\n• Use ▲ / ▼ to go up and down." flyInlineDesc.TextColor3 = Color3.fromRGB(215, 220, 240) flyInlineDesc.Font = Enum.Font.Gotham flyInlineDesc.TextSize = 10 flyInlineDesc.TextXAlignment = Enum.TextXAlignment.Left flyInlineDesc.TextYAlignment = Enum.TextYAlignment.Top flyInlineDesc.TextWrapped = true flyInlineDesc.ZIndex = 12 flyInlineDesc.Parent = flyInlineCard local flyPanel = Instance.new("Frame") flyPanel.Name = "GalaxyFlyPanel" flyPanel.Size = UDim2.new(0, 268, 0, 152) flyPanel.Position = UDim2.new(0.66, -134, 0.24, 0) flyPanel.BackgroundColor3 = Color3.fromRGB(16, 15, 29) flyPanel.Visible = false flyPanel.ClipsDescendants = true flyPanel.ZIndex = 28 flyPanel.Parent = screenGui Instance.new("UICorner", flyPanel).CornerRadius = UDim.new(0, 13) makeDraggable(flyPanel) local flyPanelStroke = Instance.new("UIStroke") flyPanelStroke.Color = Color3.fromRGB(56, 189, 248) flyPanelStroke.Thickness = 2 flyPanelStroke.Parent = flyPanel local flyPanelTitle = Instance.new("TextLabel") flyPanelTitle.Size = UDim2.new(1, -38, 0, 28) flyPanelTitle.Position = UDim2.new(0, 10, 0, 4) flyPanelTitle.BackgroundTransparency = 1 flyPanelTitle.Text = "★ Galaxy Hub Fly" flyPanelTitle.TextColor3 = Color3.fromRGB(255, 255, 255) flyPanelTitle.Font = Enum.Font.GothamBold flyPanelTitle.TextSize = 12 flyPanelTitle.TextXAlignment = Enum.TextXAlignment.Left flyPanelTitle.ZIndex = 29 flyPanelTitle.Parent = flyPanel local closeFlyPanelBtn = Instance.new("TextButton") closeFlyPanelBtn.Name = "CloseFlyPanelBtn" closeFlyPanelBtn.Size = UDim2.new(0, 24, 0, 24) closeFlyPanelBtn.Position = UDim2.new(1, -30, 0, 6) closeFlyPanelBtn.BackgroundColor3 = Color3.fromRGB(185, 28, 60) closeFlyPanelBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeFlyPanelBtn.Text = "X" closeFlyPanelBtn.Font = Enum.Font.GothamBold closeFlyPanelBtn.TextSize = 12 closeFlyPanelBtn.ZIndex = 30 closeFlyPanelBtn.Parent = flyPanel Instance.new("UICorner", closeFlyPanelBtn).CornerRadius = UDim.new(0, 6) local flyStatusLbl = Instance.new("TextLabel") flyStatusLbl.Size = UDim2.new(1, -20, 0, 34) flyStatusLbl.Position = UDim2.new(0, 10, 0, 34) flyStatusLbl.BackgroundTransparency = 1 flyStatusLbl.Text = "Status: Deactivated\nActivate from Main to show the 'Fly' button" flyStatusLbl.TextColor3 = Color3.fromRGB(196, 181, 253) flyStatusLbl.Font = Enum.Font.GothamSemibold flyStatusLbl.TextSize = 10 flyStatusLbl.TextXAlignment = Enum.TextXAlignment.Left flyStatusLbl.TextWrapped = true flyStatusLbl.ZIndex = 29 flyStatusLbl.Parent = flyPanel local toggleFlyBtn = Instance.new("TextButton") toggleFlyBtn.Name = "ActivateDeactivateFlyBtn" toggleFlyBtn.Size = UDim2.new(1, -20, 0, 36) toggleFlyBtn.Position = UDim2.new(0, 10, 0, 72) toggleFlyBtn.BackgroundColor3 = Color3.fromRGB(22, 163, 74) toggleFlyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleFlyBtn.Text = "Activate Fly" toggleFlyBtn.Font = Enum.Font.GothamBold toggleFlyBtn.TextSize = 12 toggleFlyBtn.ZIndex = 30 toggleFlyBtn.Parent = flyPanel Instance.new("UICorner", toggleFlyBtn).CornerRadius = UDim.new(0, 8) local flyHintLbl = Instance.new("TextLabel") flyHintLbl.Size = UDim2.new(1, -20, 0, 26) flyHintLbl.Position = UDim2.new(0, 10, 1, -32) flyHintLbl.BackgroundTransparency = 1 flyHintLbl.Text = "Activating from Main shows 'Fly' + ▲ / ▼." flyHintLbl.TextColor3 = Color3.fromRGB(165, 243, 252) flyHintLbl.Font = Enum.Font.Gotham flyHintLbl.TextSize = 10 flyHintLbl.TextXAlignment = Enum.TextXAlignment.Left flyHintLbl.TextWrapped = true flyHintLbl.ZIndex = 29 flyHintLbl.Parent = flyPanel local backFlyBtn = Instance.new("ImageButton") backFlyBtn.Name = "GalaxyBackFlyButton" backFlyBtn.Size = UDim2.new(0, 56, 0, 56) backFlyBtn.Position = UDim2.new(0.80, 0, 0.84, -42) backFlyBtn.BackgroundColor3 = Color3.fromRGB(16, 15, 28) backFlyBtn.Image = MAIN_OPEN_ICON backFlyBtn.ScaleType = Enum.ScaleType.Crop backFlyBtn.AutoButtonColor = false backFlyBtn.Visible = false backFlyBtn.ZIndex = 19 backFlyBtn.Parent = screenGui Instance.new("UICorner", backFlyBtn).CornerRadius = UDim.new(0, 14) makeDraggable(backFlyBtn) local backFlyStroke = Instance.new("UIStroke") backFlyStroke.Color = Color3.fromRGB(74, 222, 128) backFlyStroke.Thickness = 2.2 backFlyStroke.Parent = backFlyBtn local backFlyLabel = Instance.new("TextLabel") backFlyLabel.Size = UDim2.new(1, 0, 1, 0) backFlyLabel.BackgroundTransparency = 1 backFlyLabel.Text = "Fly" backFlyLabel.TextColor3 = Color3.fromRGB(255, 255, 255) backFlyLabel.Font = Enum.Font.GothamBlack backFlyLabel.TextSize = 15 backFlyLabel.ZIndex = 20 backFlyLabel.Parent = backFlyBtn local backFlyTextStroke = Instance.new("UIStroke") backFlyTextStroke.Color = Color3.fromRGB(12, 11, 22) backFlyTextStroke.Thickness = 2.5 backFlyTextStroke.Parent = backFlyLabel local upFlyHoldBtn = Instance.new("TextButton") upFlyHoldBtn.Name = "GalaxyFlyUpButton" upFlyHoldBtn.Size = UDim2.new(0, 44, 0, 44) upFlyHoldBtn.Position = UDim2.new(0.86, 0, 0.54, 0) upFlyHoldBtn.BackgroundColor3 = Color3.fromRGB(22, 163, 74) upFlyHoldBtn.TextColor3 = Color3.fromRGB(255, 255, 255) upFlyHoldBtn.Text = "▲" upFlyHoldBtn.Font = Enum.Font.GothamBlack upFlyHoldBtn.TextSize = 16 upFlyHoldBtn.Visible = false upFlyHoldBtn.ZIndex = 19 upFlyHoldBtn.Parent = screenGui Instance.new("UICorner", upFlyHoldBtn).CornerRadius = UDim.new(1, 0) local downFlyHoldBtn = Instance.new("TextButton") downFlyHoldBtn.Name = "GalaxyFlyDownButton" downFlyHoldBtn.Size = UDim2.new(0, 44, 0, 44) downFlyHoldBtn.Position = UDim2.new(0.86, 0, 0.66, 0) downFlyHoldBtn.BackgroundColor3 = Color3.fromRGB(37, 99, 235) downFlyHoldBtn.TextColor3 = Color3.fromRGB(255, 255, 255) downFlyHoldBtn.Text = "▼" downFlyHoldBtn.Font = Enum.Font.GothamBlack downFlyHoldBtn.TextSize = 16 downFlyHoldBtn.Visible = false downFlyHoldBtn.ZIndex = 19 downFlyHoldBtn.Parent = screenGui Instance.new("UICorner", downFlyHoldBtn).CornerRadius = UDim.new(1, 0) local isFlyActive = false local isHoldingUp = false local isHoldingDown = false upFlyHoldBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then isHoldingUp = true end end) upFlyHoldBtn.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then isHoldingUp = false end end) downFlyHoldBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then isHoldingDown = true end end) downFlyHoldBtn.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then isHoldingDown = false end end) local function setFlyStatesSafe(hum, flying) if not hum then return end pcall(function() hum.PlatformStand = flying if flying then local animator = hum:FindFirstChildOfClass("Animator") if animator then for _, track in ipairs(animator:GetPlayingAnimationTracks()) do local nm = string.lower(track.Animation and track.Animation.Name or "") if string.find(nm, "fall") or string.find(nm, "freefall") then track:Stop(0.05) end end end end end) end local function setFlyState(enabled) isFlyActive = enabled isHoldingUp = false isHoldingDown = false backFlyBtn.Visible = enabled upFlyHoldBtn.Visible = enabled downFlyHoldBtn.Visible = enabled local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") local hrp = char and char:FindFirstChild("HumanoidRootPart") if enabled then setFlyStatesSafe(hum, true) if hrp then pcall(function() hrp.AssemblyLinearVelocity = Vector3.zero hrp.AssemblyAngularVelocity = Vector3.zero end) end toggleFlyBtn.Text = "Deactivate Fly" toggleFlyBtn.BackgroundColor3 = Color3.fromRGB(185, 28, 60) backFlyStroke.Color = Color3.fromRGB(74, 222, 128) flyStatusLbl.Text = "Status: Activated\n'Fly' button + ▲/▼ are visible on screen" pushNotification("Fly activated from Main! 'Fly' button is now visible.") logSafe("[Fly] Activated from Main ('Fly' button visible).", Color3.fromRGB(74, 222, 128)) else setFlyStatesSafe(hum, false) toggleFlyBtn.Text = "Activate Fly" toggleFlyBtn.BackgroundColor3 = Color3.fromRGB(22, 163, 74) backFlyStroke.Color = currentTheme.Accent flyStatusLbl.Text = "Status: Deactivated\nActivate from Main to show the 'Fly' button" pushNotification("Fly deactivated.") logSafe("[Fly] Deactivated.", Color3.fromRGB(248, 113, 113)) end end player.CharacterAdded:Connect(function() if isFlyActive then task.wait(0.25) setFlyState(true) end end) RunService.RenderStepped:Connect(function(dt) if not isFlyActive then return end local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") local hrp = char and char:FindFirstChild("HumanoidRootPart") local cam = workspace.CurrentCamera if not char or not hum or not hrp or not cam then return end setFlyStatesSafe(hum, true) pcall(function() local moveDir = hum.MoveDirection local verticalInput = 0 if isHoldingUp or UserInputService:IsKeyDown(Enum.KeyCode.Space) or UserInputService:IsKeyDown(Enum.KeyCode.E) then verticalInput += 1 end if isHoldingDown or UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) or UserInputService:IsKeyDown(Enum.KeyCode.Q) then verticalInput -= 1 end local isMoving = (moveDir.Magnitude > 0.05) or (math.abs(verticalInput) > 0) local flySpeed = 52 local verticalSpeed = 34 if isMoving then local horizVel = moveDir * flySpeed local vertVel = verticalInput * verticalSpeed hrp.AssemblyLinearVelocity = Vector3.new(horizVel.X, vertVel, horizVel.Z) local dirFlat = (moveDir.Magnitude > 0.05) and moveDir.Unit or Vector3.new(cam.CFrame.LookVector.X, 0, cam.CFrame.LookVector.Z) if dirFlat.Magnitude < 0.05 then dirFlat = hrp.CFrame.LookVector else dirFlat = dirFlat.Unit end local pitchAngle = 0 if verticalInput > 0 then pitchAngle = math.rad(16) elseif verticalInput < 0 then pitchAngle = math.rad(-14) elseif moveDir.Magnitude > 0.05 then pitchAngle = math.rad(-10) end local lookTarget = hrp.Position + (dirFlat * 10) + Vector3.new(0, verticalInput * 2.5, 0) local targetCf = CFrame.lookAt(hrp.Position, lookTarget) * CFrame.Angles(pitchAngle, 0, 0) hrp.CFrame = hrp.CFrame:Lerp(targetCf, math.clamp(dt * 12, 0, 1)) else hrp.AssemblyLinearVelocity = Vector3.zero hrp.AssemblyAngularVelocity = Vector3.zero local _, yaw, _ = hrp.CFrame:ToOrientation() local normalStandCf = CFrame.new(hrp.Position) * CFrame.Angles(0, yaw, 0) hrp.CFrame = hrp.CFrame:Lerp(normalStandCf, math.clamp(dt * 14, 0, 1)) end end) end) openFlyPanelBtn.MouseButton1Click:Connect(function() flyPanel.Visible = not flyPanel.Visible end) closeFlyPanelBtn.MouseButton1Click:Connect(function() flyPanel.Visible = false end) toggleFlyBtn.MouseButton1Click:Connect(function() setFlyState(not isFlyActive) end) backFlyBtn.MouseButton1Click:Connect(function() setFlyState(not isFlyActive) end) local function executeDropKickOnSelf() local char = player.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if hrp then pcall(function() hrp.AssemblyLinearVelocity = (hrp.CFrame.LookVector * 65) + Vector3.new(0, 35, 0) end) end task.spawn(function() local ok, err = pcall(function() if typeof(loadstring) ~= "function" then error("loadstring is disabled in this environment") end local sourceCode = game:HttpGet(DROP_KICK_URL) local fn = loadstring(sourceCode) if typeof(fn) == "function" then fn() end end) if ok then logSafe("[DropKick] Kick-fling script executed.", Color3.fromRGB(74, 222, 128)) else logSafe("[DropKick] Script failed: " .. tostring(err), Color3.fromRGB(248, 113, 113)) end end) print("[GalaxyHub Self] Drop Kick executed on " .. player.Name) logSafe("[DropKick] Executed on " .. player.Name .. ".", Color3.fromRGB(74, 222, 128)) pushNotification("Drop Kick executed!") end dropKickBtn.MouseButton1Click:Connect(executeDropKickOnSelf) -- ========================================== -- 3. SCRIPTS -- ========================================== local scriptsTitle = Instance.new("TextLabel") scriptsTitle.Size = UDim2.new(1, 0, 0, 26) scriptsTitle.BackgroundTransparency = 1 scriptsTitle.Text = "SCRIPTS // RUNNER" scriptsTitle.TextColor3 = Color3.fromRGB(240, 240, 255) scriptsTitle.Font = Enum.Font.GothamBold scriptsTitle.TextSize = 15 scriptsTitle.TextXAlignment = Enum.TextXAlignment.Left scriptsTitle.ZIndex = 11 scriptsTitle.Parent = pages.Scripts local scriptInput = Instance.new("TextBox") scriptInput.Size = UDim2.new(1, 0, 0, 84) scriptInput.Position = UDim2.new(0, 0, 0, 30) scriptInput.BackgroundColor3 = Color3.fromRGB(13, 12, 22) scriptInput.TextColor3 = Color3.fromRGB(196, 181, 253) scriptInput.Text = "print('Galaxy Hub Script ready!')" scriptInput.Font = Enum.Font.Code scriptInput.TextSize = 12 scriptInput.TextXAlignment = Enum.TextXAlignment.Left scriptInput.TextYAlignment = Enum.TextYAlignment.Top scriptInput.MultiLine = true scriptInput.ClearTextOnFocus = false scriptInput.ZIndex = 11 scriptInput.Parent = pages.Scripts Instance.new("UICorner", scriptInput).CornerRadius = UDim.new(0, 8) local execScriptMainBtn = Instance.new("TextButton") execScriptMainBtn.Size = UDim2.new(0, 130, 0, 30) execScriptMainBtn.Position = UDim2.new(0, 0, 0, 120) execScriptMainBtn.BackgroundColor3 = Color3.fromRGB(109, 40, 217) execScriptMainBtn.TextColor3 = Color3.fromRGB(255, 255, 255) execScriptMainBtn.Text = "▶ Execute Script" execScriptMainBtn.Font = Enum.Font.GothamBold execScriptMainBtn.TextSize = 12 execScriptMainBtn.ZIndex = 11 execScriptMainBtn.Parent = pages.Scripts Instance.new("UICorner", execScriptMainBtn).CornerRadius = UDim.new(0, 7) local injectBtn = Instance.new("TextButton") injectBtn.Size = UDim2.new(0, 76, 0, 30) injectBtn.Position = UDim2.new(0, 0, 0, 156) injectBtn.BackgroundColor3 = Color3.fromRGB(22, 101, 52) injectBtn.TextColor3 = Color3.fromRGB(255, 255, 255) injectBtn.Text = "Inject" injectBtn.Font = Enum.Font.GothamSemibold injectBtn.TextSize = 12 injectBtn.ZIndex = 11 injectBtn.Parent = pages.Scripts Instance.new("UICorner", injectBtn).CornerRadius = UDim.new(0, 7) local execBtn = Instance.new("TextButton") execBtn.Size = UDim2.new(0, 76, 0, 30) execBtn.Position = UDim2.new(0, 82, 0, 156) execBtn.BackgroundColor3 = Color3.fromRGB(30, 34, 58) execBtn.TextColor3 = Color3.fromRGB(255, 255, 255) execBtn.Text = "Execute" execBtn.Font = Enum.Font.GothamSemibold execBtn.TextSize = 12 execBtn.ZIndex = 11 execBtn.Parent = pages.Scripts Instance.new("UICorner", execBtn).CornerRadius = UDim.new(0, 7) local clearBtn = Instance.new("TextButton") clearBtn.Size = UDim2.new(0, 76, 0, 30) clearBtn.Position = UDim2.new(0, 164, 0, 156) clearBtn.BackgroundColor3 = Color3.fromRGB(30, 34, 58) clearBtn.TextColor3 = Color3.fromRGB(255, 255, 255) clearBtn.Text = "Clear" clearBtn.Font = Enum.Font.GothamSemibold clearBtn.TextSize = 12 clearBtn.ZIndex = 11 clearBtn.Parent = pages.Scripts Instance.new("UICorner", clearBtn).CornerRadius = UDim.new(0, 7) -- ========================================== -- 4. VISUAL -- ========================================== local visualTitle = Instance.new("TextLabel") visualTitle.Size = UDim2.new(0.62, 0, 0, 26) visualTitle.BackgroundTransparency = 1 visualTitle.Text = "VISUAL // CONSOLE" visualTitle.TextColor3 = Color3.fromRGB(240, 240, 255) visualTitle.Font = Enum.Font.GothamBold visualTitle.TextSize = 14 visualTitle.TextXAlignment = Enum.TextXAlignment.Left visualTitle.ZIndex = 11 visualTitle.Parent = pages.Visual local spawnMiniCBtn = Instance.new("TextButton") spawnMiniCBtn.Name = "SpawnMiniConsoleBtn" spawnMiniCBtn.Size = UDim2.new(0, 118, 0, 26) spawnMiniCBtn.Position = UDim2.new(1, -118, 0, 0) spawnMiniCBtn.BackgroundColor3 = Color3.fromRGB(109, 40, 217) spawnMiniCBtn.TextColor3 = Color3.fromRGB(255, 255, 255) spawnMiniCBtn.Text = "★ Mini C" spawnMiniCBtn.Font = Enum.Font.GothamBold spawnMiniCBtn.TextSize = 11 spawnMiniCBtn.ZIndex = 11 spawnMiniCBtn.Parent = pages.Visual Instance.new("UICorner", spawnMiniCBtn).CornerRadius = UDim.new(0, 7) local consoleBox = Instance.new("ScrollingFrame") consoleBox.Size = UDim2.new(1, 0, 1, -34) consoleBox.Position = UDim2.new(0, 0, 0, 32) consoleBox.BackgroundColor3 = Color3.fromRGB(10, 10, 18) consoleBox.ScrollBarThickness = 4 consoleBox.CanvasSize = UDim2.new(0, 0, 0, 0) consoleBox.ZIndex = 11 consoleBox.Parent = pages.Visual Instance.new("UICorner", consoleBox).CornerRadius = UDim.new(0, 8) local consoleList = Instance.new("UIListLayout") consoleList.Padding = UDim.new(0, 3) consoleList.Parent = consoleBox local miniCButton = Instance.new("ImageButton") miniCButton.Name = "MiniStarCButton" miniCButton.Size = UDim2.new(0, 52, 0, 52) miniCButton.Position = UDim2.new(0.84, 0, 0.72, 0) miniCButton.BackgroundColor3 = Color3.fromRGB(16, 15, 28) miniCButton.Image = MAIN_OPEN_ICON miniCButton.ScaleType = Enum.ScaleType.Crop miniCButton.AutoButtonColor = false miniCButton.Visible = false miniCButton.ZIndex = 22 miniCButton.Parent = screenGui Instance.new("UICorner", miniCButton).CornerRadius = UDim.new(0, 14) makeDraggable(miniCButton) local miniCStroke = Instance.new("UIStroke") miniCStroke.Color = Color3.fromRGB(56, 189, 248) miniCStroke.Thickness = 2.2 miniCStroke.Parent = miniCButton local miniCLabel = Instance.new("TextLabel") miniCLabel.Size = UDim2.new(1, 0, 1, 0) miniCLabel.BackgroundTransparency = 1 miniCLabel.Text = "★ C" miniCLabel.TextColor3 = Color3.fromRGB(255, 255, 255) miniCLabel.Font = Enum.Font.GothamBlack miniCLabel.TextSize = 15 miniCLabel.ZIndex = 23 miniCLabel.Parent = miniCButton local miniCStrokeText = Instance.new("UIStroke") miniCStrokeText.Color = Color3.fromRGB(14, 13, 24) miniCStrokeText.Thickness = 2.5 miniCStrokeText.Parent = miniCLabel local smallConsoleFrame = Instance.new("Frame") smallConsoleFrame.Name = "SmallConsoleFrame" smallConsoleFrame.Size = UDim2.new(0, 270, 0, 145) smallConsoleFrame.Position = UDim2.new(0.68, -135, 0.62, -72) smallConsoleFrame.BackgroundColor3 = Color3.fromRGB(14, 13, 24) smallConsoleFrame.ClipsDescendants = true smallConsoleFrame.Visible = false smallConsoleFrame.ZIndex = 25 smallConsoleFrame.Parent = screenGui Instance.new("UICorner", smallConsoleFrame).CornerRadius = UDim.new(0, 12) makeDraggable(smallConsoleFrame) local smallConsoleStroke = Instance.new("UIStroke") smallConsoleStroke.Color = currentTheme.Accent smallConsoleStroke.Thickness = 2 smallConsoleStroke.Parent = smallConsoleFrame local smallCloseX = Instance.new("TextButton") smallCloseX.Name = "SmallConsoleCloseX" smallCloseX.Size = UDim2.new(0, 24, 0, 24) smallCloseX.Position = UDim2.new(1, -29, 0, 5) smallCloseX.BackgroundColor3 = Color3.fromRGB(185, 28, 60) smallCloseX.TextColor3 = Color3.fromRGB(255, 255, 255) smallCloseX.Text = "X" smallCloseX.Font = Enum.Font.GothamBold smallCloseX.TextSize = 12 smallCloseX.ZIndex = 27 smallCloseX.Parent = smallConsoleFrame Instance.new("UICorner", smallCloseX).CornerRadius = UDim.new(0, 6) local smallConsoleScroll = Instance.new("ScrollingFrame") smallConsoleScroll.Size = UDim2.new(1, -12, 1, -36) smallConsoleScroll.Position = UDim2.new(0, 6, 0, 32) smallConsoleScroll.BackgroundColor3 = Color3.fromRGB(10, 10, 18) smallConsoleScroll.ScrollBarThickness = 3 smallConsoleScroll.CanvasSize = UDim2.new(0, 0, 0, 0) smallConsoleScroll.ZIndex = 26 smallConsoleScroll.Parent = smallConsoleFrame Instance.new("UICorner", smallConsoleScroll).CornerRadius = UDim.new(0, 8) local smallConsoleList = Instance.new("UIListLayout") smallConsoleList.Padding = UDim.new(0, 2) smallConsoleList.Parent = smallConsoleScroll appendConsoleLine = function(text, color) local cleanText = string.gsub(tostring(text), "#", "") local col = color or Color3.fromRGB(165, 243, 252) local line = Instance.new("TextLabel") line.Size = UDim2.new(1, -10, 0, 18) line.BackgroundTransparency = 1 line.Text = cleanText line.TextColor3 = col line.Font = Enum.Font.Code line.TextSize = 11 line.TextXAlignment = Enum.TextXAlignment.Left line.TextWrapped = true line.ZIndex = 12 line.Parent = consoleBox consoleBox.CanvasSize = UDim2.new(0, 0, 0, consoleList.AbsoluteContentSize.Y + 10) consoleBox.CanvasPosition = Vector2.new(0, math.max(0, consoleList.AbsoluteContentSize.Y - consoleBox.AbsoluteSize.Y)) local miniLine = Instance.new("TextLabel") miniLine.Size = UDim2.new(1, -8, 0, 16) miniLine.BackgroundTransparency = 1 miniLine.Text = cleanText miniLine.TextColor3 = col miniLine.Font = Enum.Font.Code miniLine.TextSize = 10 miniLine.TextXAlignment = Enum.TextXAlignment.Left miniLine.TextWrapped = true miniLine.ZIndex = 27 miniLine.Parent = smallConsoleScroll smallConsoleScroll.CanvasSize = UDim2.new(0, 0, 0, smallConsoleList.AbsoluteContentSize.Y + 8) smallConsoleScroll.CanvasPosition = Vector2.new(0, math.max(0, smallConsoleList.AbsoluteContentSize.Y - smallConsoleScroll.AbsoluteSize.Y)) end logSafe("[Console] " .. HUB_NAME .. " loaded.", Color3.fromRGB(74, 222, 128)) spawnMiniCBtn.MouseButton1Click:Connect(function() miniCButton.Visible = true pushNotification("★ C button created") end) miniCButton.MouseButton1Click:Connect(function() smallConsoleFrame.Visible = not smallConsoleFrame.Visible end) smallCloseX.MouseButton1Click:Connect(function() smallConsoleFrame.Visible = false end) discordImageBtn.MouseButton1Click:Connect(function() local pop = TweenService:Create(discordBtnScale, TweenInfo.new(0.12, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Scale = 0.88 }) local back = TweenService:Create(discordBtnScale, TweenInfo.new(0.16, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), { Scale = 1 }) pop:Play() pop.Completed:Wait() back:Play() tryCopyClipboard(SHORT_DISCORD_TEXT) playDiscordSound100k() logSafe("[Discord] " .. SHORT_DISCORD_TEXT, Color3.fromRGB(129, 140, 248)) pushNotification("Discord: " .. SHORT_DISCORD_TEXT) end) LogService.MessageOut:Connect(function(message, messageType) local col = Color3.fromRGB(165, 243, 252) if messageType == Enum.MessageType.MessageWarning then col = Color3.fromRGB(250, 204, 21) elseif messageType == Enum.MessageType.MessageError then col = Color3.fromRGB(248, 113, 113) end logSafe("> " .. message, col) end) local function runCurrentScript(label) print("[GalaxyHub " .. label .. "] Ran on " .. player.Name .. ": " .. string.sub(scriptInput.Text, 1, 60)) pushNotification(label .. " executed") end injectBtn.MouseButton1Click:Connect(function() injectBtn.BackgroundColor3 = Color3.fromRGB(22, 101, 52) logSafe("[Inject] Galaxy Hub module injected.", Color3.fromRGB(74, 222, 128)) pushNotification("Inject successful") end) execBtn.MouseButton1Click:Connect(function() runCurrentScript("Execute") end) execScriptMainBtn.MouseButton1Click:Connect(function() runCurrentScript("Execute Script") end) clearBtn.MouseButton1Click:Connect(function() scriptInput.Text = "" logSafe("[Clear] Editor cleared.", Color3.fromRGB(244, 114, 182)) pushNotification("Script cleared") end) -- ========================================== -- UI STORKER'S ANIMATION COLOR (white sweep) -- ========================================== local animatedStrokes = { windowStroke, openBtnStroke, topBarStroke, bottomBarStroke, notifStroke, smallConsoleStroke, confirmStroke, restartCircleStroke, colorPopupStroke, ownerPopupStroke, miniCStroke, flyPanelStroke, backFlyStroke, } local function applyCustomOptionColors(optData) currentTheme = optData mainWindow.BackgroundColor3 = optData.Bg contentArea.BackgroundColor3 = optData.Card windowStroke.Color = optData.Primary openBtnStroke.Color = optData.Primary restartCircleStroke.Color = optData.Primary confirmStroke.Color = optData.Primary ownerPopupStroke.Color = optData.Primary miniCStroke.Color = optData.Accent topBarStroke.Color = optData.Accent bottomBarStroke.Color = optData.Accent notifStroke.Color = optData.Accent smallConsoleStroke.Color = optData.Accent colorPopupStroke.Color = optData.Accent flyPanelStroke.Color = optData.Accent if not isFlyActive then backFlyStroke.Color = optData.Accent end dropKickBtn.BackgroundColor3 = optData.Primary openFlyPanelBtn.BackgroundColor3 = optData.Primary execScriptMainBtn.BackgroundColor3 = optData.Primary spawnMiniCBtn.BackgroundColor3 = optData.Primary for name, btn in pairs(tabButtons) do if pages[name] and pages[name].Visible then btn.BackgroundColor3 = optData.Primary end end end local function startWhiteTransitionAndApply(optionKey) local optData = customOptions[optionKey] or customOptions.Galaxy colorAnimToken += 1 local myToken = colorAnimToken task.spawn(function() whiteSweepFlash.Position = UDim2.new(-1, 0, 0, 0) whiteSweepFlash.BackgroundTransparency = 0.2 whiteSweepFlash.Visible = true for _, st in ipairs(animatedStrokes) do st.Color = Color3.fromRGB(255, 255, 255) end local sweepIn = TweenService:Create(whiteSweepFlash, TweenInfo.new(0.28, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Position = UDim2.new(0, 0, 0, 0), BackgroundTransparency = 0.35, }) sweepIn:Play() sweepIn.Completed:Wait() local sweepOut = TweenService:Create(whiteSweepFlash, TweenInfo.new(0.32, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { Position = UDim2.new(1, 0, 0, 0), BackgroundTransparency = 0.85, }) sweepOut:Play() sweepOut.Completed:Wait() whiteSweepFlash.Visible = false if myToken ~= colorAnimToken then return end applyCustomOptionColors(optData) pushNotification("Color & Theme: " .. optData.Name) logSafe("[UI Storker's Animation Color] Applied via white sweep: " .. optData.Name, optData.Accent) end) end for idx, item in ipairs(colorCatalog) do local cBtn = Instance.new("TextButton") cBtn.Name = "PopupColor_" .. string.gsub(item.Key, "%s+", "_") cBtn.LayoutOrder = idx cBtn.BackgroundColor3 = item.Primary cBtn.TextColor3 = Color3.fromRGB(255, 255, 255) cBtn.Text = item.Name cBtn.Font = Enum.Font.GothamBold cBtn.TextSize = 11 cBtn.ZIndex = 58 cBtn.Parent = colorPopupScroll Instance.new("UICorner", cBtn).CornerRadius = UDim.new(0, 7) cBtn.MouseButton1Click:Connect(function() colorPopupOverlay.Visible = false startWhiteTransitionAndApply(item.Key) end) end local popupRows = math.ceil(#colorCatalog / 3) colorPopupScroll.CanvasSize = UDim2.new(0, 0, 0, popupRows * 36 + 18) -- ========================================== -- 5. SETTINGS -- ========================================== local settingsScroll = Instance.new("ScrollingFrame") settingsScroll.Name = "SettingsScrollArea" settingsScroll.Size = UDim2.new(1, 0, 1, 0) settingsScroll.Position = UDim2.new(0, 0, 0, 0) settingsScroll.BackgroundTransparency = 1 settingsScroll.ScrollBarThickness = 4 settingsScroll.CanvasSize = UDim2.new(0, 0, 0, 390) settingsScroll.ZIndex = 11 settingsScroll.Parent = pages.Settings local settingsTitle = Instance.new("TextLabel") settingsTitle.Size = UDim2.new(1, -6, 0, 20) settingsTitle.Position = UDim2.new(0, 0, 0, 0) settingsTitle.BackgroundTransparency = 1 settingsTitle.Text = "SETTINGS // OPEN MODE, COLORS & OWNER" settingsTitle.TextColor3 = Color3.fromRGB(240, 240, 255) settingsTitle.Font = Enum.Font.GothamBold settingsTitle.TextSize = 12 settingsTitle.TextXAlignment = Enum.TextXAlignment.Left settingsTitle.ZIndex = 12 settingsTitle.Parent = settingsScroll local modeLabel = Instance.new("TextLabel") modeLabel.Size = UDim2.new(1, -6, 0, 16) modeLabel.Position = UDim2.new(0, 0, 0, 22) modeLabel.BackgroundTransparency = 1 modeLabel.Text = "Menu open mode:" modeLabel.TextColor3 = Color3.fromRGB(196, 181, 253) modeLabel.Font = Enum.Font.GothamSemibold modeLabel.TextSize = 11 modeLabel.TextXAlignment = Enum.TextXAlignment.Left modeLabel.ZIndex = 12 modeLabel.Parent = settingsScroll local modeButtons = {} local function setOpenMode(newMode) openMode = newMode for modeKey, btn in pairs(modeButtons) do btn.BackgroundColor3 = (modeKey == newMode) and Color3.fromRGB(109, 40, 217) or Color3.fromRGB(28, 25, 48) end applyOpenModeVisuals() pushNotification("Mode: " .. newMode) logSafe("[Settings] Open mode: " .. newMode, Color3.fromRGB(56, 189, 248)) end local modeOptions = { { key = "TopBar", text = "1. Top Bar", x = 0 }, { key = "ButtonAndTopBar", text = "2. Btn + Bar", x = 122 }, { key = "ButtonOnly", text = "3. Icon Only", x = 244 }, } for _, opt in ipairs(modeOptions) do local mBtn = Instance.new("TextButton") mBtn.Size = UDim2.new(0, 116, 0, 25) mBtn.Position = UDim2.new(0, opt.x, 0, 40) mBtn.BackgroundColor3 = (opt.key == openMode) and Color3.fromRGB(109, 40, 217) or Color3.fromRGB(28, 25, 48) mBtn.TextColor3 = Color3.fromRGB(255, 255, 255) mBtn.Text = opt.text mBtn.Font = Enum.Font.GothamBold mBtn.TextSize = 11 mBtn.ZIndex = 12 mBtn.Parent = settingsScroll Instance.new("UICorner", mBtn).CornerRadius = UDim.new(0, 7) mBtn.MouseButton1Click:Connect(function() setOpenMode(opt.key) end) modeButtons[opt.key] = mBtn end local uiStorkerAnimBtn = Instance.new("TextButton") uiStorkerAnimBtn.Name = "UIStorkerAnimationColorBtn" uiStorkerAnimBtn.Size = UDim2.new(0, 210, 0, 26) uiStorkerAnimBtn.Position = UDim2.new(0, 0, 0, 72) uiStorkerAnimBtn.BackgroundColor3 = Color3.fromRGB(79, 70, 229) uiStorkerAnimBtn.TextColor3 = Color3.fromRGB(255, 255, 255) uiStorkerAnimBtn.Text = "✦ UI Storker's Animation Color" uiStorkerAnimBtn.Font = Enum.Font.GothamBold uiStorkerAnimBtn.TextSize = 11 uiStorkerAnimBtn.ZIndex = 12 uiStorkerAnimBtn.Parent = settingsScroll Instance.new("UICorner", uiStorkerAnimBtn).CornerRadius = UDim.new(0, 7) local ownerBtn = Instance.new("TextButton") ownerBtn.Name = "OwnerInfoButton" ownerBtn.Size = UDim2.new(0, 164, 0, 26) ownerBtn.Position = UDim2.new(0, 216, 0, 72) ownerBtn.BackgroundColor3 = Color3.fromRGB(49, 46, 129) ownerBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ownerBtn.Text = "Owner: " .. OWNER_USERNAME ownerBtn.Font = Enum.Font.GothamBold ownerBtn.TextSize = 11 ownerBtn.ZIndex = 12 ownerBtn.Parent = settingsScroll Instance.new("UICorner", ownerBtn).CornerRadius = UDim.new(0, 7) ownerBtn.MouseButton1Click:Connect(function() ownerPopupOverlay.Visible = true end) closeOwnerPopupBtn.MouseButton1Click:Connect(function() ownerPopupOverlay.Visible = false end) local notifToggleBtn = Instance.new("TextButton") notifToggleBtn.Size = UDim2.new(0, 152, 0, 26) notifToggleBtn.Position = UDim2.new(0, 0, 0, 104) notifToggleBtn.BackgroundColor3 = Color3.fromRGB(22, 101, 52) notifToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) notifToggleBtn.Text = "Notifications: ON" notifToggleBtn.Font = Enum.Font.GothamBold notifToggleBtn.TextSize = 11 notifToggleBtn.ZIndex = 12 notifToggleBtn.Parent = settingsScroll Instance.new("UICorner", notifToggleBtn).CornerRadius = UDim.new(0, 8) notifToggleBtn.MouseButton1Click:Connect(function() notificationsEnabled = not notificationsEnabled if notificationsEnabled then notifToggleBtn.BackgroundColor3 = Color3.fromRGB(22, 101, 52) notifToggleBtn.Text = "Notifications: ON" pushNotification("Notifications enabled") else notifToggleBtn.BackgroundColor3 = Color3.fromRGB(127, 29, 29) notifToggleBtn.Text = "Notifications: OFF" logSafe("[Settings] Notifications are OFF.", Color3.fromRGB(248, 113, 113)) end end) local menuColorsTitle = Instance.new("TextLabel") menuColorsTitle.Size = UDim2.new(1, -6, 0, 18) menuColorsTitle.Position = UDim2.new(0, 0, 0, 136) menuColorsTitle.BackgroundTransparency = 1 menuColorsTitle.Text = "Menu Colors & Themes (Pink, Win to Die, Galaxy, Cyber Kane + more):" menuColorsTitle.TextColor3 = Color3.fromRGB(244, 114, 182) menuColorsTitle.Font = Enum.Font.GothamBold menuColorsTitle.TextSize = 11 menuColorsTitle.TextXAlignment = Enum.TextXAlignment.Left menuColorsTitle.ZIndex = 12 menuColorsTitle.Parent = settingsScroll local menuColorsGridHolder = Instance.new("Frame") menuColorsGridHolder.Name = "MenuColorsGridHolder" menuColorsGridHolder.Size = UDim2.new(1, -6, 0, 224) menuColorsGridHolder.Position = UDim2.new(0, 0, 0, 156) menuColorsGridHolder.BackgroundTransparency = 1 menuColorsGridHolder.ZIndex = 12 menuColorsGridHolder.Parent = settingsScroll local menuGrid = Instance.new("UIGridLayout") menuGrid.CellSize = UDim2.new(0, 118, 0, 26) menuGrid.CellPadding = UDim2.new(0, 6, 0, 6) menuGrid.SortOrder = Enum.SortOrder.LayoutOrder menuGrid.Parent = menuColorsGridHolder for idx, item in ipairs(colorCatalog) do local mColorBtn = Instance.new("TextButton") mColorBtn.Name = "MenuColor_" .. string.gsub(item.Key, "%s+", "_") mColorBtn.LayoutOrder = idx mColorBtn.BackgroundColor3 = item.Primary mColorBtn.TextColor3 = Color3.fromRGB(255, 255, 255) mColorBtn.Text = item.Name mColorBtn.Font = Enum.Font.GothamBold mColorBtn.TextSize = 10 mColorBtn.ZIndex = 13 mColorBtn.Parent = menuColorsGridHolder Instance.new("UICorner", mColorBtn).CornerRadius = UDim.new(0, 7) mColorBtn.MouseButton1Click:Connect(function() startWhiteTransitionAndApply(item.Key) end) end local menuRows = math.ceil(#colorCatalog / 3) menuColorsGridHolder.Size = UDim2.new(1, -6, 0, menuRows * 32) settingsScroll.CanvasSize = UDim2.new(0, 0, 0, 164 + menuRows * 32) local function selectTab(tabName) for name, page in pairs(pages) do page.Visible = (name == tabName) end for name, btn in pairs(tabButtons) do btn.BackgroundColor3 = (name == tabName) and currentTheme.Primary or Color3.fromRGB(22, 20, 38) end end for i, tabName in ipairs(tabNames) do local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -16, 0, 30) btn.Position = UDim2.new(0, 8, 0, 44 + (i - 1) * 36) btn.BackgroundColor3 = Color3.fromRGB(22, 20, 38) btn.TextColor3 = Color3.fromRGB(240, 240, 255) btn.Text = tabName btn.Font = Enum.Font.GothamSemibold btn.TextSize = 12 btn.ZIndex = 11 btn.Parent = sidebar Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 7) btn.MouseButton1Click:Connect(function() selectTab(tabName) end) tabButtons[tabName] = btn end selectTab("Home") quickHomeBtn.MouseButton1Click:Connect(function() selectTab("Home") end) quickScriptsBtn.MouseButton1Click:Connect(function() selectTab("Scripts") end) quickVisualBtn.MouseButton1Click:Connect(function() selectTab("Visual") end) local function openHub() if isMenuOpen or isAnimating then return end isAnimating = true isMenuOpen = true topBarBtn.Visible = false starHolder.Visible = false if openButton.Visible then local shrinkBtn = TweenService:Create(openBtnScale, TweenInfo.new(0.22, Enum.EasingStyle.Back, Enum.EasingDirection.In), { Scale = 0 }) shrinkBtn:Play() shrinkBtn.Completed:Wait() openButton.Visible = false end mainWindow.Visible = true windowScale.Scale = 0.82 local showWin = TweenService:Create(windowScale, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Scale = 1 }) showWin:Play() showWin.Completed:Wait() isAnimating = false pushNotification(HUB_NAME .. " opened") end local function closeHub() if not isMenuOpen or isAnimating then return end isAnimating = true isMenuOpen = false local hideWin = TweenService:Create(windowScale, TweenInfo.new(0.22, Enum.EasingStyle.Quint, Enum.EasingDirection.In), { Scale = 0.82 }) hideWin:Play() hideWin.Completed:Wait() mainWindow.Visible = false if openMode == "TopBar" then topBarBtn.Visible = true openButton.Visible = false starHolder.Visible = false else openButton.Position = openBtnDropStartPos syncStarsToButton(openBtnDropStartPos) openBtnScale.Scale = 0.75 openButton.Visible = true starHolder.Visible = true topBarBtn.Visible = (openMode == "ButtonAndTopBar") local growBtn = TweenService:Create(openBtnScale, TweenInfo.new(0.22, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), { Scale = 1 }) local dropBtn = TweenService:Create(openButton, TweenInfo.new(0.45, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), { Position = openBtnRestPos }) local dropStars = TweenService:Create(starHolder, TweenInfo.new(0.45, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), { Position = UDim2.new(openBtnRestPos.X.Scale, openBtnRestPos.X.Offset - 30, openBtnRestPos.Y.Scale, openBtnRestPos.Y.Offset - 30) }) growBtn:Play() dropBtn:Play() dropStars:Play() dropBtn.Completed:Wait() end isAnimating = false end uiStorkerAnimBtn.MouseButton1Click:Connect(function() if isAnimating then return end if isMenuOpen then closeHub() end colorPopupOverlay.Visible = true end) cancelColorPopupBtn.MouseButton1Click:Connect(function() colorPopupOverlay.Visible = false openHub() end) restartCircleBtn.MouseButton1Click:Connect(function() if isAnimating then return end if isMenuOpen then closeHub() end confirmOverlay.Visible = true end) noRestartBtn.MouseButton1Click:Connect(function() confirmOverlay.Visible = false openHub() end) yesRestartBtn.MouseButton1Click:Connect(function() if isAnimating then return end confirmOverlay.Visible = false isAnimating = true isMenuOpen = false mainWindow.Visible = false openButton.Visible = false starHolder.Visible = false topBarBtn.Visible = false local restartOverlay = Instance.new("Frame") restartOverlay.Name = "GalaxyRestartSplash" restartOverlay.Size = UDim2.new(1, 0, 1, 0) restartOverlay.Position = UDim2.new(0, 0, 0, 0) restartOverlay.BackgroundColor3 = Color3.fromRGB(0, 0, 0) restartOverlay.BorderSizePixel = 0 restartOverlay.ZIndex = 100 restartOverlay.Parent = screenGui local titleLbl = Instance.new("TextLabel") titleLbl.AnchorPoint = Vector2.new(0.5, 0.5) titleLbl.Size = UDim2.new(0.9, 0, 0.25, 0) titleLbl.Position = UDim2.new(0.5, 0, 0.5, 0) titleLbl.BackgroundTransparency = 1 titleLbl.Text = "galaxy hub" titleLbl.TextColor3 = Color3.fromRGB(37, 99, 235) titleLbl.Font = Enum.Font.FredokaOne titleLbl.TextScaled = true titleLbl.ZIndex = 101 titleLbl.Parent = restartOverlay local titleStroke = Instance.new("UIStroke") titleStroke.Color = Color3.fromRGB(255, 255, 255) titleStroke.Thickness = 4 titleStroke.Parent = titleLbl local titleScale = Instance.new("UIScale") titleScale.Scale = 0.12 titleScale.Parent = titleLbl local growTitle = TweenService:Create(titleScale, TweenInfo.new(0.85, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Scale = 1.15 }) growTitle:Play() growTitle.Completed:Wait() task.wait(0.75) restartOverlay:Destroy() isAnimating = false applyOpenModeVisuals() backFlyBtn.Visible = isFlyActive upFlyHoldBtn.Visible = isFlyActive downFlyHoldBtn.Visible = isFlyActive pushNotification("Galaxy Hub was reset. Please open the menu.") logSafe("[Restart] Galaxy Hub was reset. Please open the menu.", Color3.fromRGB(74, 222, 128)) end) openButton.MouseButton1Click:Connect(openHub) topBarBtn.MouseButton1Click:Connect(function() openButton.Visible = true openBtnScale.Scale = 1 syncStarsToButton(openButton.Position) starHolder.Visible = true openHub() end) closeXBtn.MouseButton1Click:Connect(closeHub) task.spawn(function() local loadOverlay = Instance.new("Frame") loadOverlay.Name = "GalaxyFullScreenLoader" loadOverlay.Size = UDim2.new(1, 0, 1, 0) loadOverlay.Position = UDim2.new(0, 0, 0, 0) loadOverlay.BackgroundColor3 = Color3.fromRGB(0, 0, 0) loadOverlay.BorderSizePixel = 0 loadOverlay.ZIndex = 100 loadOverlay.Parent = screenGui local zoomLabel = Instance.new("TextLabel") zoomLabel.AnchorPoint = Vector2.new(0.5, 0.5) zoomLabel.Size = UDim2.new(0.9, 0, 0.25, 0) zoomLabel.Position = UDim2.new(0.5, 0, 0.5, 0) zoomLabel.BackgroundTransparency = 1 zoomLabel.Text = "galaxy hub" zoomLabel.TextColor3 = Color3.fromRGB(37, 99, 235) zoomLabel.Font = Enum.Font.FredokaOne zoomLabel.TextScaled = true zoomLabel.ZIndex = 101 zoomLabel.Parent = loadOverlay local zoomStroke = Instance.new("UIStroke") zoomStroke.Color = Color3.fromRGB(255, 255, 255) zoomStroke.Thickness = 4 zoomStroke.Parent = zoomLabel local zoomScale = Instance.new("UIScale") zoomScale.Scale = 0.08 zoomScale.Parent = zoomLabel local growSlow = TweenService:Create(zoomScale, TweenInfo.new(1.1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { Scale = 1.15 }) growSlow:Play() growSlow.Completed:Wait() task.wait(1) loadOverlay.BackgroundColor3 = Color3.fromRGB(29, 78, 216) zoomLabel.Text = "script" zoomLabel.TextColor3 = Color3.fromRGB(34, 211, 238) zoomScale.Scale = 0.25 local growScript = TweenService:Create(zoomScale, TweenInfo.new(0.55, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Scale = 1.15 }) growScript:Play() growScript.Completed:Wait() task.wait(0.35) loadOverlay:Destroy() isMenuOpen = false mainWindow.Visible = false applyOpenModeVisuals() backFlyBtn.Visible = false upFlyHoldBtn.Visible = false downFlyHoldBtn.Visible = false pushNotification(HUB_NAME .. " ready! Activate Fly from Main.") end)