--[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6a20f5d088541ebe641c0b5b"))() end) end) --[[rscripts:analytics:end]] local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local LP = game:GetService("Players").LocalPlayer local RS = game:GetService("ReplicatedStorage") local VirtualUser = game:GetService("VirtualUser") LP.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) -- References local Remotes = RS:WaitForChild("Remotes") local Knit = RS:WaitForChild("Packages"):WaitForChild("_Index") :WaitForChild("sleitnick_knit@1.7.0"):WaitForChild("knit"):WaitForChild("Services") local PenRF = Knit:WaitForChild("PenService"):WaitForChild("RF") local LassoRE = Knit:WaitForChild("LassoService"):WaitForChild("RE") local Pets = require(RS.Configs.Pets) local EggPools = require(RS.Configs.EggPools) pcall(function() if EggPools.initialize then EggPools.initialize() end end) -- pet folders the game spawns roaming pets into local PET_FOLDERS = { "RoamingPets","VolcanoIslandPets","LavaIslandPets","IceIslandPets","SkyIslandPets", "GalaxyIslandPets","WaterIslandPets","BeeIslandPets","NewEventIslandPets", "SafariIslandPets","CaveIslandPets","DeepCavePets","AbyssIslandPets", } -- Island definitions (friendly name -> config flags + TP coord) local ISLANDS = { { name = "Hub", flags = {"Default"}, tp = Vector3.new(0, 40, -2928) }, { name = "Dragon Island", flags = {"SkyOnly"}, tp = Vector3.new(-120, 852, -2977) }, { name = "Volcano", flags = {"VolcanoIsland","LavaIsland"}, tp = Vector3.new(-2394, 344, -1674) }, { name = "Bee", flags = {"BeeIsland"}, tp = Vector3.new(104, 321, -935) }, { name = "Cave", flags = {"CaveIsland"}, tp = Vector3.new(-3395, 412, -2840) }, { name = "Safari", flags = {"Safari"}, tp = Vector3.new(-2437, 174, -2803) }, { name = "Forgotten Depths", flags = {"WaterIsland","AbyssIsland"}, tp = Vector3.new(11, 6, -4985) }, } -- all island flags we detect (incl. ones whose islands were removed -> skipped) local FLAG_LIST = { "VolcanoIsland","LavaIsland","WaterIsland","BeeIsland","CaveIsland", "AbyssIsland","Safari","SkyOnly","IceOnly","IceOnly2","AlienIsland" } local flagToIsland = {} for _, isl in ipairs(ISLANDS) do for _, fl in ipairs(isl.flags) do flagToIsland[fl] = isl.name end end -- returns island name, or nil if the pet belongs to a removed island (Ice/Alien) local function islandNameOf(info) for _, fl in ipairs(FLAG_LIST) do if info[fl] then return flagToIsland[fl] end -- nil for removed islands end return "Hub" -- no island flag = default/hub roamer end -- lassoable set = union of NonBreedingPets rarity pools, excluding Boss local lassoableSet = {} for rarity, list in pairs(EggPools.NonBreedingPets or {}) do if rarity ~= "Boss" and type(list) == "table" then for _, nm in pairs(list) do if type(nm) == "string" then lassoableSet[nm] = true end end end end -- group lassoable pets by island (dedup by name, keep max RPS; skip removed islands) local islandPetRPS = {} -- islandName -> { petName -> rps } for nm in pairs(lassoableSet) do local info = Pets[nm] if type(info) == "table" and tonumber(info.RPS) and info.Rarity ~= "Boss" then local iname = islandNameOf(info) if iname then islandPetRPS[iname] = islandPetRPS[iname] or {} islandPetRPS[iname][nm] = math.max(islandPetRPS[iname][nm] or 0, info.RPS) end end end -- finalize per-island sorted lists + option<->name maps for _, isl in ipairs(ISLANDS) do isl.petSet = islandPetRPS[isl.name] or {} local arr = {} for nm, rps in pairs(isl.petSet) do arr[#arr + 1] = { nm = nm, rps = rps } end table.sort(arr, function(a, b) if a.rps == b.rps then return a.nm < b.nm end return a.rps > b.rps end) isl.options = {} -- option strings (best at top) isl.optionToName = {} -- option string -> pet name for _, e in ipairs(arr) do local opt = string.format("%s — %d RPS", e.nm, e.rps) isl.options[#isl.options + 1] = opt isl.optionToName[opt] = e.nm end end -- Shared state local State = { autoCatch = {}, -- islandName -> bool (loop running) selected = {}, -- islandName -> { petName -> true } instantLasso = false, autoCollect = false, } -- Helpers (all defined before any UI callback uses them) local function getHRP() local char = LP.Character return char and char:FindFirstChild("HumanoidRootPart") end local function tpTo(v3) local hrp = getHRP() if hrp then hrp.CFrame = CFrame.new(v3) end end local function ensureLasso() local char = LP.Character if not char then return end local arm = char:FindFirstChild("Right Arm") if arm and arm:FindFirstChild("BigLasso") then return end local hum = char:FindFirstChildOfClass("Humanoid") local tool = (LP:FindFirstChild("Backpack") and LP.Backpack:FindFirstChild("Lasso")) or char:FindFirstChild("Lasso") local lassoName = "Rancher's Rope" local okd, d = pcall(function() return Remotes.retrieveData:InvokeServer() end) if okd and type(d) == "table" and d.equippedLasso then lassoName = d.equippedLasso end pcall(function() LassoRE.EquipLasso:FireServer(lassoName) end) if tool and hum then pcall(function() hum:EquipTool(tool) end) task.wait(0.4) end end local function invPetsSet() local set = {} local ok, d = pcall(function() return Remotes.retrieveData:InvokeServer() end) if ok and type(d) == "table" and d.inventory and d.inventory.pets then for g in pairs(d.inventory.pets) do set[g] = true end end return set end -- the game's minigame handler (same one a manual throw uses). Lazily required. local _minigameHandler local function getMinigameHandler() if _minigameHandler ~= nil then return _minigameHandler or nil end local ok, h = pcall(function() return require(LP.PlayerScripts.Controllers.Visuals.lassoController.lassoMinigameHandler) end) _minigameHandler = (ok and h) or false return _minigameHandler or nil end -- find best loaded roaming pet for an island, honoring the per-island selection local function findLoadedPet(isl) local sel = State.selected[isl.name] local useSel = sel and next(sel) ~= nil local best for _, fn in ipairs(PET_FOLDERS) do local folder = workspace:FindFirstChild(fn) local pets = folder and folder:FindFirstChild("Pets") if pets then for _, p in ipairs(pets:GetChildren()) do if p:IsA("Model") and p:GetAttribute("Guid") and not p:GetAttribute("Captured") and p:GetAttribute("Rarity") ~= "Boss" then local nm = p:GetAttribute("Name") local match = (useSel and sel[nm]) or (not useSel and isl.petSet[nm]) if match and (not best or (p:GetAttribute("RPS") or 0) > (best:GetAttribute("RPS") or 0)) then best = p end end end end end return best end local function notify(title, content, dur) Rayfield:Notify({ Title = title, Content = content, Duration = dur or 4 }) end -- catch a pet into inventory (no placing). returns ok(bool), info(string) local function catchPet(pet) local hrp = getHRP() if not hrp or not pet or not pet.Parent then return false, "no pet" end ensureLasso() -- equip lasso (stays equipped between catches) local before = invPetsSet() -- TP to the pet (stays on the island) hrp.CFrame = CFrame.new(pet:GetPivot().Position + Vector3.new(0, 5, 15)) task.wait(0.45) hrp = getHRP() if not hrp then return false, "no character" end if not pet.Parent then return false, "despawned" end local dir = (pet:GetPivot().Position - hrp.Position).Unit Remotes.ThrowLasso:FireServer(0.9, dir); task.wait(0.15) Remotes.ThrowLasso:FireServer(0.9, dir) -- open the game's real minigame (same path as a manual throw / instant lasso) local handler = getMinigameHandler() if handler then pcall(function() handler.Start(pet) end) end task.wait(0.4) -- let the minigame initialize before ramping (else progress is lost) for _, n in ipairs({ 25, 50, 75, 100 }) do Remotes.UpdateProgress:FireServer(n); task.wait(0.1) end task.wait(0.6) -- confirm a new pet landed in inventory local newg for g in pairs(invPetsSet()) do if not before[g] then newg = g; break end end if not newg then pcall(function() Remotes.CancelMinigame:FireServer() end) return false, "no new pet (catch failed)" end -- finalize the catch the way the game does pcall(function() Remotes.RequestWalkPet:FireServer(newg, true) end) return true, newg end -- per-island auto-catch loop: TP to island ONCE, then catch in place (no re-TP, no place) local function startAutoCatch(isl) if State.autoCatch[isl.name] then return end State.autoCatch[isl.name] = true task.spawn(function() ensureLasso() tpTo(isl.tp) -- single TP to the island; pets stream in task.wait(3) notify("Auto Catch: " .. isl.name, "Started (pets go to inventory).", 3) while State.autoCatch[isl.name] do local pet = findLoadedPet(isl) if pet then local nm = tostring(pet:GetAttribute("Name")) local ok = catchPet(pet) if ok then notify("Caught", nm .. " -> inventory", 2) end task.wait(0.3) else task.wait(1.5) -- nothing matching loaded yet; wait for spawns end end end) end -- Instant Lasso hook (skip minigame on manual catches) do local ok = pcall(function() local oldNamecall oldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(self, ...) local method = getnamecallmethod() if State.instantLasso and method == "InvokeServer" and self == Remotes.minigameRequest and not checkcaller() then local res = oldNamecall(self, ...) if res == true then task.spawn(function() task.wait(0.4) for _, n in ipairs({ 25, 50, 75, 100 }) do Remotes.UpdateProgress:FireServer(n) task.wait(0.1) end end) end return res end return oldNamecall(self, ...) end)) end) if not ok then warn("[CatchAndTame] instant-lasso hook unavailable on this executor") end end -- Auto Collect Pet Cash loop task.spawn(function() while true do if State.autoCollect then pcall(function() Remotes.collectAllPetCash:FireServer() end) end task.wait(3) end end) -- UI local Window = Rayfield:CreateWindow({ Name = "Catch and Tame - Fabron's Hub", LoadingTitle = "Loading...", LoadingSubtitle = "Fabron's Hub is loading, please wait..", ConfigurationSaving = { Enabled = true, FolderName = "Catch and Tame", FileName = "Config" }, KeySystem = false, }) -- toggle objects, so turning one on can turn the others off local islandToggles = {} for _, isl in ipairs(ISLANDS) do local island = isl local tab = Window:CreateTab(island.name) tab:CreateLabel(("%d lassoable pets (best at top)"):format(#island.options)) tab:CreateDropdown({ Name = "Target pets (empty = catch any on island)", Options = island.options, CurrentOption = {}, MultipleOptions = true, Flag = "sel_" .. island.name, Callback = function(opts) local set = {} for _, o in ipairs(opts) do local nm = island.optionToName[o] if nm then set[nm] = true end end State.selected[island.name] = set end, }) islandToggles[island.name] = tab:CreateToggle({ Name = "Auto Catch on " .. island.name, CurrentValue = false, Flag = "auto_" .. island.name, Callback = function(v) if v then -- mutual exclusion: turn every other island's auto-catch off for _, other in ipairs(ISLANDS) do if other.name ~= island.name and islandToggles[other.name] then islandToggles[other.name]:Set(false) end end startAutoCatch(island) else State.autoCatch[island.name] = false end end, }) end -- TPs tab local tpTab = Window:CreateTab("TPs") tpTab:CreateButton({ Name = "Home / Your Pen", Callback = function() local pen = PenRF.getPenRootCFrame:InvokeServer() if typeof(pen) == "CFrame" then local hrp = getHRP() if hrp then hrp.CFrame = pen + Vector3.new(0, 4, 0) end end end, }) tpTab:CreateSection("Islands") for _, isl in ipairs(ISLANDS) do local island = isl tpTab:CreateButton({ Name = island.name, Callback = function() tpTo(island.tp) end }) end -- Settings tab local setTab = Window:CreateTab("Settings") setTab:CreateToggle({ Name = "Instant Lasso", CurrentValue = false, Flag = "instant_lasso", Callback = function(v) State.instantLasso = v end, }) setTab:CreateToggle({ Name = "Auto Collect Pet Cash", CurrentValue = false, Flag = "auto_collect_cash", Callback = function(v) State.autoCollect = v end, }) setTab:CreateButton({ Name = "Stop ALL Auto Catch", Callback = function() for _, isl in ipairs(ISLANDS) do State.autoCatch[isl.name] = false if islandToggles[isl.name] then islandToggles[isl.name]:Set(false) end end notify("Stopped", "All auto-catch loops stopped.", 3) end, }) notify("Catch and Tame", "Loaded. " .. #ISLANDS .. " island tabs ready.", 5)