local ReplicatedStorage = game:GetService("ReplicatedStorage") local MainF = ReplicatedStorage:WaitForChild("MainF") local Players = game:GetService("Players") local player = Players.LocalPlayer local PlayerGui = player:WaitForChild("PlayerGui") -- Fixed amount local fixedAmount = 999999 -- Create GUI local screenGui = Instance.new("ScreenGui") screenGui.Name = "MoneyFarmGUI" screenGui.ResetOnSpawn = false screenGui.Parent = PlayerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 220, 0, 120) frame.Position = UDim2.new(0.5, -110, 0.5, -60) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 2 frame.BorderColor3 = Color3.fromRGB(255, 100, 100) frame.Active = true frame.Draggable = true frame.Parent = screenGui local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundColor3 = Color3.fromRGB(50, 50, 50) title.Text = "Money Farmer" title.TextColor3 = Color3.new(1,1,1) title.Font = Enum.Font.GothamBold title.TextSize = 18 title.Parent = frame local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0.8, 0, 0, 40) toggleButton.Position = UDim2.new(0.1, 0, 0.4, 0) toggleButton.Text = "Toggle: OFF" toggleButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) toggleButton.TextColor3 = Color3.new(1,1,1) toggleButton.Font = Enum.Font.GothamBold toggleButton.TextSize = 16 toggleButton.Parent = frame local status = Instance.new("TextLabel") status.Size = UDim2.new(1, 0, 0, 20) status.Position = UDim2.new(0, 0, 1, -20) status.BackgroundTransparency = 1 status.Text = "Status: Ready" status.TextColor3 = Color3.new(0,1,0) status.Parent = frame -- Logic local toggle = false toggleButton.MouseButton1Click:Connect(function() toggle = not toggle if toggle then toggleButton.Text = "Toggle: ON" toggleButton.BackgroundColor3 = Color3.fromRGB(50, 200, 50) status.Text = "Status: Farming " .. fixedAmount status.TextColor3 = Color3.new(0,1,0) spawn(function() while toggle do MainF:InvokeServer("earned", fixedAmount) task.wait() -- max speed end end) else toggleButton.Text = "Toggle: OFF" toggleButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) status.Text = "Status: Stopped" status.TextColor3 = Color3.new(1,0,0) end end)