local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local parent pcall(function() parent = game:GetService("CoreGui") end) if not parent then parent = player:WaitForChild("PlayerGui") end local noclip = false local flying = false local flySpeed = 60 local bv, bg local guiVisible = true local gui = Instance.new("ScreenGui") gui.Name = "PhoenixHub" gui.ResetOnSpawn = false gui.Parent = parent local toggleBtn = Instance.new("ImageButton", gui) toggleBtn.Size = UDim2.new(0, 70, 0, 70) toggleBtn.Position = UDim2.new(1, -90, 1, -120) toggleBtn.BackgroundColor3 = Color3.fromRGB(255, 120, 0) toggleBtn.BorderSizePixel = 0 toggleBtn.AutoButtonColor = true toggleBtn.Image = "" local draggingBtn = false local dragStartBtn local startPosBtn toggleBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingBtn = true dragStartBtn = input.Position startPosBtn = toggleBtn.Position end end) toggleBtn.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingBtn = false end end) UIS.InputChanged:Connect(function(input) if draggingBtn and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStartBtn toggleBtn.Position = UDim2.new( startPosBtn.X.Scale, startPosBtn.X.Offset + delta.X, startPosBtn.Y.Scale, startPosBtn.Y.Offset + delta.Y ) end end) Instance.new("UICorner", toggleBtn).CornerRadius = UDim.new(1, 0) local icon = Instance.new("TextLabel", toggleBtn) icon.Size = UDim2.new(1, 0, 1, 0) icon.BackgroundTransparency = 1 icon.Text = "🔥" icon.TextScaled = true icon.Font = Enum.Font.GothamBold icon.TextColor3 = Color3.new(1,1,1) local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 360, 0, 260) frame.Position = UDim2.new(0.5, -180, 0.5, -130) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) frame.BorderSizePixel = 0 frame.Active = true Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 14) toggleBtn.MouseButton1Click:Connect(function() guiVisible = not guiVisible frame.Visible = guiVisible end) local dragging, dragStart, startPos frame.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = i.Position startPos = frame.Position end end) frame.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then dragging = false end end) UIS.InputChanged:Connect(function(i) if dragging and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then local delta = i.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(1, 0, 0, 40) title.Text = "🔥 Phoenix Hub" title.Font = Enum.Font.GothamBold title.TextSize = 22 title.TextColor3 = Color3.fromRGB(255, 140, 0) title.BackgroundTransparency = 1 local function makeButton(text, pos) local b = Instance.new("TextButton", frame) b.Size = UDim2.new(0, 150, 0, 40) b.Position = pos b.Text = text b.Font = Enum.Font.GothamBold b.TextSize = 14 b.TextColor3 = Color3.new(1,1,1) b.BackgroundColor3 = Color3.fromRGB(50, 50, 50) b.BorderSizePixel = 0 Instance.new("UICorner", b).CornerRadius = UDim.new(0, 10) return b end local noclipBtn = makeButton("🚪 Noclip: OFF", UDim2.new(0, 20, 0, 60)) noclipBtn.MouseButton1Click:Connect(function() noclip = not noclip noclipBtn.Text = noclip and "🚪 Noclip: ON" or "🚪 Noclip: OFF" end) RunService.Stepped:Connect(function() if noclip and player.Character then for _, v in pairs(player.Character:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end end end) local function startFly() local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not hrp then return end bv = Instance.new("BodyVelocity", hrp) bv.MaxForce = Vector3.new(1e9,1e9,1e9) bg = Instance.new("BodyGyro", hrp) bg.MaxTorque = Vector3.new(1e9,1e9,1e9) RunService:BindToRenderStep("PhoenixFly", 1, function() local cam = workspace.CurrentCamera local move = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then move += cam.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then move -= cam.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then move -= cam.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then move += cam.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.Space) then move += cam.CFrame.UpVector end if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then move -= cam.CFrame.UpVector end bv.Velocity = move.Magnitude > 0 and move.Unit * flySpeed or Vector3.zero bg.CFrame = cam.CFrame end) end local function stopFly() RunService:UnbindFromRenderStep("PhoenixFly") if bv then bv:Destroy() end if bg then bg:Destroy() end end local flyBtn = makeButton("🕊 Fly: OFF", UDim2.new(0, 190, 0, 60)) flyBtn.MouseButton1Click:Connect(function() flying = not flying flyBtn.Text = flying and "🕊 Fly: ON" or "🕊 Fly: OFF" if flying then startFly() else stopFly() end end) local tpBackBtn = makeButton("📍 TP Back", UDim2.new(0, 20, 0, 110)) tpBackBtn.MouseButton1Click:Connect(function() pcall(function() ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("TpBack"):FireServer() end) end) local closeBtn = makeButton("❌ Close", UDim2.new(0, 190, 0, 110)) closeBtn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) closeBtn.MouseButton1Click:Connect(function() frame.Visible = false guiVisible = false end)