local player = game.Players.LocalPlayer local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local ToggleBtn = Instance.new("TextButton") -- Visual Configurations ScreenGui.Parent = player:WaitForChild("PlayerGui") ScreenGui.ResetOnSpawn = false ScreenGui.Name = "GraceAutoFarm_Rewritooo" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) MainFrame.Position = UDim2.new(0.1, 0, 0.5, 0) MainFrame.Size = UDim2.new(0, 150, 0, 80) MainFrame.Active = true MainFrame.Draggable = true ToggleBtn.Parent = MainFrame ToggleBtn.Size = UDim2.new(1, 0, 1, 0) ToggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) ToggleBtn.Text = "FARM: OFF" ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleBtn.TextSize = 20 ToggleBtn.Font = Enum.Font.GothamBold -- Movement Logic local ligado = false local distancia = 12 ToggleBtn.MouseButton1Click:Connect(function() ligado = not ligado if ligado then ToggleBtn.Text = "FARM: ON" ToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 200, 50) -- Forced Movement Loop task.spawn(function() while ligado do local char = player.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if hrp then -- Instant Back and Forth hrp.CFrame = hrp.CFrame * CFrame.new(0, 0, -distancia) task.wait(0.1) hrp.CFrame = hrp.CFrame * CFrame.new(0, 0, distancia) task.wait(0.1) else task.wait(1) -- Wait for character to respawn end end end) else ToggleBtn.Text = "FARM: OFF" ToggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) end end)