local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
local UI = Instance.new("ScreenGui")
UI.Name = "ArbixHub"
UI.ResetOnSpawn = false
UI.Parent = gethui()
local MainFrame = Instance.new("Frame", UI)
MainFrame.Size = UDim2.new(0, 400, 0, 350)
MainFrame.Position = UDim2.new(0.5, -200, 0.5, -175)
MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
MainFrame.Active = true
MainFrame.Draggable = true
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 12)
local Title = Instance.new("TextLabel", MainFrame)
Title.Text = "Arbix Hub"
Title.Size = UDim2.new(1, 0, 0, 40)
Title.BackgroundTransparency = 1
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 20
local CloseBtn = Instance.new("TextButton", MainFrame)
CloseBtn.Size = UDim2.new(0, 30, 0, 30)
CloseBtn.Position = UDim2.new(1, -35, 0, 5)
CloseBtn.Text = "X"
CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
CloseBtn.Font = Enum.Font.GothamBold
CloseBtn.TextSize = 14
Instance.new("UICorner", CloseBtn).CornerRadius = UDim.new(0, 6)
CloseBtn.MouseButton1Click:Connect(function() UI:Destroy() end)
local MinimizeBtn = Instance.new("TextButton", MainFrame)
MinimizeBtn.Size = UDim2.new(0, 30, 0, 30)
MinimizeBtn.Position = UDim2.new(1, -70, 0, 5)
MinimizeBtn.Text = "-"
MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 200)
MinimizeBtn.Font = Enum.Font.GothamBold
MinimizeBtn.TextSize = 14
Instance.new("UICorner", MinimizeBtn).CornerRadius = UDim.new(0, 6)
local Sidebar = Instance.new("Frame", MainFrame)
Sidebar.Size = UDim2.new(0, 100, 1, -40)
Sidebar.Position = UDim2.new(0, 0, 0, 40)
Sidebar.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
Instance.new("UICorner", Sidebar).CornerRadius = UDim.new(0, 10)
local Content = Instance.new("Frame", MainFrame)
Content.Size = UDim2.new(1, -100, 1, -40)
Content.Position = UDim2.new(0, 100, 0, 40)
Content.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Instance.new("UICorner", Content).CornerRadius = UDim.new(0, 10)
local AutoFarmBtn = Instance.new("TextButton", Sidebar)
AutoFarmBtn.Text = "Auto Farm"
AutoFarmBtn.Size = UDim2.new(1, 0, 0, 40)
AutoFarmBtn.Position = UDim2.new(0, 0, 0, 0)
AutoFarmBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
AutoFarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
AutoFarmBtn.Font = Enum.Font.Gotham
AutoFarmBtn.TextSize = 14
Instance.new("UICorner", AutoFarmBtn).CornerRadius = UDim.new(0, 6)
local ToggleCollectBtn = Instance.new("TextButton", Content)
ToggleCollectBtn.Size = UDim2.new(0, 220, 0, 50)
ToggleCollectBtn.Position = UDim2.new(0.5, -110, 0.25, 0)
ToggleCollectBtn.BackgroundColor3 = Color3.fromRGB(70, 130, 255)
ToggleCollectBtn.Text = "Auto Collect Money: OFF"
ToggleCollectBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleCollectBtn.Font = Enum.Font.GothamBold
ToggleCollectBtn.TextSize = 16
Instance.new("UICorner", ToggleCollectBtn).CornerRadius = UDim.new(0, 8)
local collecting = false
ToggleCollectBtn.MouseButton1Click:Connect(function()
collecting = not collecting
ToggleCollectBtn.Text = collecting and "Auto Collect Money: ON" or "Auto
Collect Money: OFF"
ToggleCollectBtn.BackgroundColor3 = collecting and Color3.fromRGB(0, 200, 100)
or Color3.fromRGB(70, 130, 255)
if collecting then
task.spawn(function()
while collecting do
for i = 1, 16 do
ReplicatedStorage.Packages.Net["RE/PlotService/ClaimCoins"]:FireServer(i)
task.wait(0.2)
end
end
end)
end
end)