-- CONFIG local tpDelay = 1 -- tempo entre TPs (segundos) local yOffset = -0.7 -- ~20 cm abaixo local targetCFrame = CFrame.new( 2114.81104, 304.580322 + yOffset, 1154.00549, -0.951911569, 0.301718324, -0.053201247, -8.2516074e-09, 0.17364867, 0.98480767, 0.306372851, 0.937300563, -0.166511193 ) -- PLAYER local player = game.Players.LocalPlayer -- GUI local gui = Instance.new("ScreenGui", game.CoreGui) gui.Name = "AutoFarmGUI" local openBtn = Instance.new("TextButton", gui) openBtn.Size = UDim2.new(0, 120, 0, 40) openBtn.Position = UDim2.new(0, 20, 0, 200) openBtn.Text = "ABRIR" openBtn.BackgroundColor3 = Color3.fromRGB(40,40,40) openBtn.TextColor3 = Color3.new(1,1,1) local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 200, 0, 120) frame.Position = UDim2.new(0, 20, 0, 250) frame.BackgroundColor3 = Color3.fromRGB(25,25,25) frame.Visible = false frame.Active = true frame.Draggable = true local autoBtn = Instance.new("TextButton", frame) autoBtn.Size = UDim2.new(1, -20, 0, 40) autoBtn.Position = UDim2.new(0, 10, 0, 40) autoBtn.Text = "Auto Farm: OFF" autoBtn.BackgroundColor3 = Color3.fromRGB(60,60,60) autoBtn.TextColor3 = Color3.new(1,1,1) -- OPEN / CLOSE openBtn.MouseButton1Click:Connect(function() frame.Visible = not frame.Visible openBtn.Text = frame.Visible and "FECHAR" or "ABRIR" end) -- AUTO FARM local farming = false autoBtn.MouseButton1Click:Connect(function() farming = not farming autoBtn.Text = farming and "Auto Farm: ON" or "Auto Farm: OFF" end) -- LOOP task.spawn(function() while true do task.wait(tpDelay) if farming then local char = player.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.CFrame = targetCFrame end end end end)