local player = game.Players.LocalPlayer local uis = game:GetService("UserInputService") local tweenService = game:GetService("TweenService") -- CREATE GUI local gui = Instance.new("ScreenGui") gui.Name = "PhoenixSkullHub" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") -- MAIN FRAME local main = Instance.new("Frame") main.Size = UDim2.new(0,600,0,400) main.Position = UDim2.new(0.5,-300,1,0) main.BackgroundColor3 = Color3.fromRGB(20,20,20) main.Parent = gui main.ClipsDescendants = true Instance.new("UICorner", main).CornerRadius = UDim.new(0,12) -------------------------------------------------- -- ⚡ RED LIGHTNING PULSE BORDER -------------------------------------------------- local stroke = Instance.new("UIStroke", main) stroke.Color = Color3.fromRGB(180,0,0) stroke.Thickness = 3 task.spawn(function() while true do tweenService:Create(stroke,TweenInfo.new(0.4,Enum.EasingStyle.Sine),{ Color = Color3.fromRGB(255,40,40), Thickness = 5 }):Play() task.wait(0.4) tweenService:Create(stroke,TweenInfo.new(0.4,Enum.EasingStyle.Sine),{ Color = Color3.fromRGB(120,0,0), Thickness = 3 }):Play() task.wait(0.4) end end) -------------------------------------------------- -- ⚡ LIGHTNING FLASH BACKGROUND -------------------------------------------------- local flash = Instance.new("Frame") flash.Size = UDim2.new(1,0,1,0) flash.BackgroundColor3 = Color3.fromRGB(255,0,0) flash.BackgroundTransparency = 1 flash.ZIndex = 0 flash.Parent = main Instance.new("UICorner", flash).CornerRadius = UDim.new(0,12) task.spawn(function() while true do task.wait(math.random(4,8)) flash.BackgroundTransparency = 0.85 task.wait(0.05) flash.BackgroundTransparency = 1 end end) -------------------------------------------------- -- TITLE -------------------------------------------------- local title = Instance.new("TextLabel") title.Size = UDim2.new(1,0,0,40) title.BackgroundTransparency = 1 title.Text = "💀 PHOENIX SKULL HUB ⚡" title.TextColor3 = Color3.fromRGB(255,30,30) title.Font = Enum.Font.GothamBold title.TextScaled = true title.Parent = main -------------------------------------------------- -- TAB BUTTON HOLDER -------------------------------------------------- local tabHolder = Instance.new("Frame") tabHolder.Size = UDim2.new(0,150,1,-40) tabHolder.Position = UDim2.new(0,0,0,40) tabHolder.BackgroundColor3 = Color3.fromRGB(30,30,30) tabHolder.Parent = main Instance.new("UICorner", tabHolder).CornerRadius = UDim.new(0,10) -------------------------------------------------- -- CONTENT HOLDER -------------------------------------------------- local contentHolder = Instance.new("Frame") contentHolder.Size = UDim2.new(1,-160,1,-50) contentHolder.Position = UDim2.new(0,155,0,45) contentHolder.BackgroundTransparency = 1 contentHolder.Parent = main -------------------------------------------------- -- TAB NAMES -------------------------------------------------- local tabs = { "Teleport", "Stats", "Abilities", "Quests", "Inventory", "NPC Locator", "Admin" } local pages = {} -- CREATE PAGES for _,name in pairs(tabs) do local page = Instance.new("Frame") page.Size = UDim2.new(1,0,1,0) page.BackgroundColor3 = Color3.fromRGB(35,35,35) page.Visible = false page.Parent = contentHolder Instance.new("UICorner", page).CornerRadius = UDim.new(0,10) local label = Instance.new("TextLabel") label.Size = UDim2.new(1,0,0,40) label.BackgroundTransparency = 1 label.Text = name .. " Panel" label.Font = Enum.Font.GothamBold label.TextScaled = true label.TextColor3 = Color3.fromRGB(255,255,255) label.Parent = page pages[name] = page end pages["Teleport"].Visible = true -------------------------------------------------- -- CREATE TAB BUTTONS -------------------------------------------------- for i,name in pairs(tabs) do local button = Instance.new("TextButton") button.Size = UDim2.new(1,0,0,40) button.Position = UDim2.new(0,0,0,(i-1)*45) button.BackgroundColor3 = Color3.fromRGB(40,40,40) button.Text = name button.TextColor3 = Color3.fromRGB(255,255,255) button.Font = Enum.Font.Gotham button.TextScaled = true button.Parent = tabHolder Instance.new("UICorner", button).CornerRadius = UDim.new(0,8) -- Hover glow local hoverStroke = Instance.new("UIStroke", button) hoverStroke.Color = Color3.fromRGB(80,0,0) hoverStroke.Thickness = 1 button.MouseEnter:Connect(function() tweenService:Create(hoverStroke,TweenInfo.new(0.2),{ Color = Color3.fromRGB(255,0,0) }):Play() end) button.MouseLeave:Connect(function() tweenService:Create(hoverStroke,TweenInfo.new(0.2),{ Color = Color3.fromRGB(80,0,0) }):Play() end) button.MouseButton1Click:Connect(function() for _,page in pairs(pages) do page.Visible = false end pages[name].Visible = true end) end -------------------------------------------------- -- OPEN/CLOSE TOGGLE (RightControl) -------------------------------------------------- gui.Enabled = false uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.RightControl then gui.Enabled = not gui.Enabled if gui.Enabled then tweenService:Create(main,TweenInfo.new(0.4,Enum.EasingStyle.Quint),{ Position = UDim2.new(0.5,-300,0.5,-200) }):Play() else main.Position = UDim2.new(0.5,-300,1,0) end end end)