--// LocalScript - Premium Auto Farm GUI local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "PremiumAutoGui" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui -- Main Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 300, 0, 320) mainFrame.Position = UDim2.new(0.5, -150, 0.5, -160) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 22) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 16) mainCorner.Parent = mainFrame local mainStroke = Instance.new("UIStroke") mainStroke.Color = Color3.fromRGB(60, 60, 70) mainStroke.Thickness = 1.5 mainStroke.Parent = mainFrame -- Title Bar local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 50) titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 35) titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 16) titleCorner.Parent = titleBar local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -60, 1, 0) title.BackgroundTransparency = 1 title.Text = "Auto Farm" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextScaled = true title.Font = Enum.Font.GothamBold title.Parent = titleBar local titleGradient = Instance.new("UIGradient") titleGradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(100, 200, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(180, 120, 255)) } titleGradient.Parent = title -- Close Button local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0, 10) closeBtn.BackgroundColor3 = Color3.fromRGB(230, 70, 70) closeBtn.Text = "✕" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.TextScaled = true closeBtn.Font = Enum.Font.GothamBold closeBtn.Parent = titleBar local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 8) closeCorner.Parent = closeBtn -- Teleport Button local tpButton = Instance.new("TextButton") tpButton.Size = UDim2.new(0.85, 0, 0, 50) tpButton.Position = UDim2.new(0.075, 0, 0.22, 0) tpButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255) tpButton.Text = "Teleport to Best Zone" tpButton.TextColor3 = Color3.fromRGB(255, 255, 255) tpButton.TextScaled = true tpButton.Font = Enum.Font.GothamSemibold tpButton.Parent = mainFrame local tpCorner = Instance.new("UICorner") tpCorner.CornerRadius = UDim.new(0, 12) tpCorner.Parent = tpButton local tpStroke = Instance.new("UIStroke") tpStroke.Color = Color3.fromRGB(80, 180, 255) tpStroke.Thickness = 2 tpStroke.Parent = tpButton -- Auto Step Button local stepButton = Instance.new("TextButton") stepButton.Size = UDim2.new(0.85, 0, 0, 50) stepButton.Position = UDim2.new(0.075, 0, 0.42, 0) stepButton.BackgroundColor3 = Color3.fromRGB(40, 170, 80) stepButton.Text = "Auto Step: OFF" stepButton.TextColor3 = Color3.fromRGB(255, 255, 255) stepButton.TextScaled = true stepButton.Font = Enum.Font.GothamSemibold stepButton.Parent = mainFrame local stepCorner = Instance.new("UICorner") stepCorner.CornerRadius = UDim.new(0, 12) stepCorner.Parent = stepButton local stepStroke = Instance.new("UIStroke") stepStroke.Color = Color3.fromRGB(70, 200, 110) stepStroke.Thickness = 2 stepStroke.Parent = stepButton -- Auto Rebirth Button local rebirthButton = Instance.new("TextButton") rebirthButton.Size = UDim2.new(0.85, 0, 0, 50) rebirthButton.Position = UDim2.new(0.075, 0, 0.62, 0) rebirthButton.BackgroundColor3 = Color3.fromRGB(40, 170, 80) rebirthButton.Text = "Auto Rebirth: OFF" rebirthButton.TextColor3 = Color3.fromRGB(255, 255, 255) rebirthButton.TextScaled = true rebirthButton.Font = Enum.Font.GothamSemibold rebirthButton.Parent = mainFrame local rebirthCorner = Instance.new("UICorner") rebirthCorner.CornerRadius = UDim.new(0, 12) rebirthCorner.Parent = rebirthButton local rebirthStroke = Instance.new("UIStroke") rebirthStroke.Color = Color3.fromRGB(70, 200, 110) rebirthStroke.Thickness = 2 rebirthStroke.Parent = rebirthButton -- Credit local credit = Instance.new("TextLabel") credit.Size = UDim2.new(1, 0, 0, 20) credit.Position = UDim2.new(0, 0, 1, -25) credit.BackgroundTransparency = 1 credit.Text = "Created by: gooner345" credit.TextColor3 = Color3.fromRGB(140, 140, 150) credit.TextScaled = true credit.Font = Enum.Font.Gotham credit.Parent = mainFrame -- ==================== VARIABLES ==================== local autoStep = false local autoRebirth = false local stepConnection = nil local rebirthConnection = nil local stepArgs = {100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, false} local rebirthArgs = {"free"} local remoteStep = game:GetService("ReplicatedStorage").Remotes.StepTaken local remoteRebirth = game:GetService("ReplicatedStorage").Remotes.RequestRebirth -- Mejor Zona Actualizada local bestCFrame = CFrame.new(0.09204118, 5.98222685, -9074.05371094, 1, 0, 0, 0, 1, 0, 0, 0, 1) -- ==================== FUNCTIONS ==================== local function teleportToBestZone() local character = player.Character if not character then return end local root = character:FindFirstChild("HumanoidRootPart") if root then root.CFrame = bestCFrame print("Teleported to Best Zone!") end end -- Drag System local UIS = game:GetService("UserInputService") local dragging = false local dragStart, startPos titleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position end end) UIS.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) -- Buttons closeBtn.MouseButton1Click:Connect(function() screenGui:Destroy() end) tpButton.MouseButton1Click:Connect(teleportToBestZone) stepButton.MouseButton1Click:Connect(function() autoStep = not autoStep if autoStep then stepButton.Text = "Auto Step: ON" stepButton.BackgroundColor3 = Color3.fromRGB(200, 60, 60) stepStroke.Color = Color3.fromRGB(255, 80, 80) stepConnection = game:GetService("RunService").Heartbeat:Connect(function() remoteStep:FireServer(unpack(stepArgs)) end) else stepButton.Text = "Auto Step: OFF" stepButton.BackgroundColor3 = Color3.fromRGB(40, 170, 80) stepStroke.Color = Color3.fromRGB(70, 200, 110) if stepConnection then stepConnection:Disconnect() end end end) rebirthButton.MouseButton1Click:Connect(function() autoRebirth = not autoRebirth if autoRebirth then rebirthButton.Text = "Auto Rebirth: ON" rebirthButton.BackgroundColor3 = Color3.fromRGB(200, 60, 60) rebirthStroke.Color = Color3.fromRGB(255, 80, 80) rebirthConnection = game:GetService("RunService").Heartbeat:Connect(function() remoteRebirth:FireServer(unpack(rebirthArgs)) task.wait(3) end) else rebirthButton.Text = "Auto Rebirth: OFF" rebirthButton.BackgroundColor3 = Color3.fromRGB(40, 170, 80) rebirthStroke.Color = Color3.fromRGB(70, 200, 110) if rebirthConnection then rebirthConnection:Disconnect() end end end) print("Premium Auto Farm GUI loaded by gooner345 ✅ | Best Zone Updated")