local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local parent
pcall(function()
parent = game:GetService("CoreGui")
end)
if not parent then
parent = player:WaitForChild("PlayerGui")
end
local autoClaim = false
local guiVisible = true
local gui = Instance.new("ScreenGui")
gui.Name = "PhoenixHub"
gui.ResetOnSpawn = false
gui.Parent = parent
local toggleBtn = Instance.new("TextButton", gui)
toggleBtn.Size = UDim2.new(0, 60, 0, 60)
toggleBtn.Position = UDim2.new(0, 20, 0.5, -30)
toggleBtn.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
toggleBtn.Text = "💎"
toggleBtn.Font = Enum.Font.GothamBold
toggleBtn.TextSize = 28
toggleBtn.TextColor3 = Color3.new(1,1,1)
toggleBtn.BorderSizePixel = 0
toggleBtn.ZIndex = 1000
toggleBtn.AutoButtonColor = false
Instance.new("UICorner", toggleBtn).CornerRadius = UDim.new(1, 0)
local glow1 = Instance.new("UIStroke", toggleBtn)
glow1.Color = Color3.fromRGB(0, 170, 255)
glow1.Thickness = 2
glow1.Transparency = 0.2
local glow2 = Instance.new("UIStroke", toggleBtn)
glow2.Color = Color3.fromRGB(0, 170, 255)
glow2.Thickness = 7
glow2.Transparency = 0.85
local draggingBtn, dragStartBtn, 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)
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(16, 16, 16)
frame.BorderSizePixel = 0
frame.Active = true
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 18)
local frameGlow = Instance.new("UIStroke", frame)
frameGlow.Color = Color3.fromRGB(0, 170, 255)
frameGlow.Thickness = 2
frameGlow.Transparency = 0.3
local frameGlow2 = Instance.new("UIStroke", frame)
frameGlow2.Color = Color3.fromRGB(0, 170, 255)
frameGlow2.Thickness = 8
frameGlow2.Transparency = 0.85
local dragging, dragStart, startPos
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position
end
end)
frame.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
UIS.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
toggleBtn.MouseButton1Click:Connect(function()
guiVisible = not guiVisible
frame.Visible = guiVisible
end)
local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, -30, 0, 40)
title.Position = UDim2.new(0, 15, 0, 10)
title.BackgroundTransparency = 1
title.TextXAlignment = Enum.TextXAlignment.Left
title.Text = "💎 Phoenix Hub"
title.Font = Enum.Font.GothamBold
title.TextSize = 24
title.TextColor3 = Color3.fromRGB(230, 230, 230)
local autoBtn = Instance.new("TextButton", frame)
autoBtn.Size = UDim2.new(0, 300, 0, 50)
autoBtn.Position = UDim2.new(0.5, -150, 0, 70)
autoBtn.Text = "💎 AutoClaim: OFF"
autoBtn.Font = Enum.Font.GothamSemibold
autoBtn.TextSize = 18
autoBtn.TextColor3 = Color3.new(1,1,1)
autoBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
autoBtn.BorderSizePixel = 0
Instance.new("UICorner", autoBtn).CornerRadius = UDim.new(0, 14)
autoBtn.MouseButton1Click:Connect(function()
autoClaim = not autoClaim
autoBtn.Text = autoClaim and "💎 AutoClaim: ON" or "💎 AutoClaim: OFF"
end)
local jetpackBtn = Instance.new("TextButton", frame)
jetpackBtn.Size = UDim2.new(0, 300, 0, 50)
jetpackBtn.Position = UDim2.new(0.5, -150, 0, 135)
jetpackBtn.Text = "🚀 Free Jetpack"
jetpackBtn.Font = Enum.Font.GothamSemibold
jetpackBtn.TextSize = 18
jetpackBtn.TextColor3 = Color3.new(1,1,1)
jetpackBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
jetpackBtn.BorderSizePixel = 0
Instance.new("UICorner", jetpackBtn).CornerRadius = UDim.new(0, 14)
jetpackBtn.MouseButton1Click:Connect(function()
pcall(function()
ReplicatedStorage
:WaitForChild("Remotes")
:WaitForChild("JetpackEquip")
:FireServer()
end)
end)
task.spawn(function()
while true do
if autoClaim then
pcall(function()
ReplicatedStorage
:WaitForChild("__remotes")
:WaitForChild("TycoonService")
:WaitForChild("CollectMoneyTS")
:FireServer()
end)
end
task.wait(1)
end
end)
Comments
No comments yet
Be the first to share your thoughts!