local Players = game:GetService("Players") local player = Players.LocalPlayer local remote = workspace.REs.chooseMinigame -- ==================== ANTI AFK ==================== local VirtualUser = game:GetService("VirtualUser") player.Idled:Connect(function() VirtualUser:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame) task.wait(1) VirtualUser:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame) end) -- ==================== ANTI KICK ==================== local mt = getrawmetatable(game) local old = mt.__namecall setreadonly(mt, false) mt.__namecall = newcclosure(function(self, ...) if getnamecallmethod() == "Kick" and self == player then return nil end return old(self, ...) end) setreadonly(mt, true) -- ==================== PLAYING REMOTE ==================== task.spawn(function() while true do workspace.REs.otherOption:FireServer("playing", true) task.wait(0.5) end end) -- ==================== GUI ==================== local screenGui = Instance.new("ScreenGui") screenGui.Name = "FarmGui" screenGui.ResetOnSpawn = false screenGui.Parent = player.PlayerGui local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(0, 300, 0, 50) statusLabel.Position = UDim2.new(0.5, -150, 0, 20) statusLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30) statusLabel.TextColor3 = Color3.fromRGB(255, 255, 255) statusLabel.Text = "farming queue, please wait..." statusLabel.Font = Enum.Font.GothamBold statusLabel.TextSize = 16 statusLabel.BorderSizePixel = 0 statusLabel.Parent = screenGui local statusCorner = Instance.new("UICorner", statusLabel) statusCorner.CornerRadius = UDim.new(0, 8) local button = Instance.new("TextButton") button.Size = UDim2.new(0, 150, 0, 50) button.Position = UDim2.new(0.5, -75, 0, 20) button.BackgroundColor3 = Color3.fromRGB(0, 180, 0) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Text = "Start" button.Font = Enum.Font.GothamBold button.TextSize = 18 button.BorderSizePixel = 0 button.Visible = false button.Parent = screenGui local btnCorner = Instance.new("UICorner", button) btnCorner.CornerRadius = UDim.new(0, 8) -- ==================== QUEUE FILLER ==================== task.spawn(function() local queueLabel = workspace.Lobby.minigameboards.boarda.SurfaceGui.mqueue local function getCount() local text = queueLabel.Text local n = tonumber(text:match("(%d+) in queue")) return n or 0 end while getCount() < 2000 do remote:FireServer("Only One Path", "Hallway Sector") task.wait(0.05) end statusLabel.Visible = false button.Visible = true end) -- ==================== FARM LOGIC ==================== local running = false local farmThread = nil local function farmLoop() local notif = player.PlayerGui.GameGui.NotificationBar.Notification local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart") while running do while running do if notif.Text:lower():find("the correct path will start lighting") then break end task.wait(0.1) end if not running then break end while running do hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not hrp then task.wait(0.1) continue end local goal = workspace["Only One Path"].Goal.Goal local ti = goal:FindFirstChild("TouchInterest") if not ti then task.wait(0.1) continue end firetouchinterest(hrp, goal, 0) firetouchinterest(hrp, goal, 1) if notif.Text:lower():find("winner:") then break end task.wait(0.05) end task.wait(1) end end button.MouseButton1Click:Connect(function() if not running then running = true button.Text = "Stop" button.BackgroundColor3 = Color3.fromRGB(180, 0, 0) farmThread = task.spawn(farmLoop) else running = false button.Text = "Start" button.BackgroundColor3 = Color3.fromRGB(0, 180, 0) if farmThread then task.cancel(farmThread) farmThread = nil end end end)