--[[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=6a1564c6d35b9cb68dbf034c"))() 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) local Window = Rayfield:CreateWindow({ Name = "Diving Legends - Fabron's Hub", LoadingTitle = "Loading...", LoadingSubtitle = "Fabron's Hub is loading, please wait..", ConfigurationSaving = { Enabled = true, FolderName = "Diving Legends", FileName = "Config" }, KeySystem = false, }) local Collect = RS:WaitForChild("Events"):WaitForChild("CollectableObjects"):WaitForChild("Collect") local LCO = workspace:WaitForChild("_LocalCollectableObjects") local AutoTab = Window:CreateTab("Auto", 4483362458) AutoTab:CreateSection("Auto Farm") local autoFarm = false AutoTab:CreateToggle({ Name = "Auto Collect (4s collect, 8s wait for money to payout, repeat)", CurrentValue = false, Flag = "toggle_AutoFarm", Callback = function(state) autoFarm = state if not state then return end task.spawn(function() while autoFarm do local spamUntil = tick() + 4 while tick() < spamUntil and autoFarm do for _, m in ipairs(LCO:GetChildren()) do if not autoFarm then break end local tier, id = m.Name:match("^(%d+)_(%d+)") if tier and id then Collect:FireServer(tier, tonumber(id)) m:Destroy() end end task.wait(0.1) end if not autoFarm then break end task.wait(8) end end) end, }) AutoTab:CreateSection("Pets") AutoTab:CreateButton({ Name = "Equip Best Pets", Callback = function() RS.Events.Pets.EquipBest:FireServer() end, }) local function spoofGamepass(name, id) local gp = LP.Gamepasses if not gp:FindFirstChild(name) then local f = Instance.new("Folder") f.Name = name f.Parent = gp end if not gp:FindFirstChild(tostring(id)) then local f = Instance.new("Folder") f.Name = tostring(id) f.Parent = gp end end local GameSettings = require(RS:WaitForChild("GameSettings")) local EquipFin = RS.Events.Fins.Equip local EquipTank = RS.Events.Tanks.Equip local function maxOwnedId(invRoot) local inv = invRoot:FindFirstChild("__StackableItemsInventory") if not inv then return 0 end local i = 0 while true do local c = inv:FindFirstChild(tostring(i + 1)) if not (c and c:IsA("IntValue") and (c.Value or 0) > 0) then break end i = i + 1 end return i end local function nextBuyableId(catalog, currentId) local best for k, v in pairs(catalog) do local id = tonumber(k) if id and id > currentId and type(v) == "table" and v.PriceType == "Coins" and (not v.AvailableWorld or v.AvailableWorld <= 1) then if not best or id < best then best = id end end end return best end local function tryUpgrade(kind) local invRoot = (kind == "Fins") and LP.Fins or LP.Tanks local catalog = (kind == "Fins") and GameSettings.Fins or GameSettings.Tanks local equip = (kind == "Fins") and EquipFin or EquipTank local nextId = nextBuyableId(catalog, maxOwnedId(invRoot)) if not nextId then return false end equip:FireServer(tostring(nextId)) task.wait(0.5) local inv = invRoot:FindFirstChild("__StackableItemsInventory") local got = inv and inv:FindFirstChild(tostring(nextId)) return got and (got.Value or 0) > 0 end local UpgradeTab = Window:CreateTab("Upgrade", 4483362458) UpgradeTab:CreateSection("Auto Buy (Buy + Equip)") local autoFins = false UpgradeTab:CreateToggle({ Name = "Auto Buy Fins", CurrentValue = false, Flag = "toggle_AutoFins", Callback = function(state) autoFins = state if not state then return end task.spawn(function() while autoFins do local ok, bought = pcall(tryUpgrade, "Fins") task.wait((ok and bought) and 0.3 or 2) end end) end, }) local autoTanks = false UpgradeTab:CreateToggle({ Name = "Auto Buy Tanks", CurrentValue = false, Flag = "toggle_AutoTanks", Callback = function(state) autoTanks = state if not state then return end task.spawn(function() while autoTanks do local ok, bought = pcall(tryUpgrade, "Tanks") task.wait((ok and bought) and 0.3 or 2) end end) end, }) local EggTab = Window:CreateTab("Eggs", 4483362458) EggTab:CreateSection("Bulk Hatch") local EggOpen = RS:WaitForChild("Events"):WaitForChild("Egg"):WaitForChild("Open") local function fmtCost(n) if not n then return "?" end local abs = math.abs(n) if abs >= 1e12 then return string.format("%.1fT", n / 1e12) end if abs >= 1e9 then return string.format("%.1fB", n / 1e9) end if abs >= 1e6 then return string.format("%.1fM", n / 1e6) end if abs >= 1e3 then return string.format("%.1fK", n / 1e3) end return tostring(n) end local EGG_OPTIONS = {} local labelToId = {} local idToCost = {} do local entries = {} for k, v in pairs(GameSettings.PetEggs or {}) do local id = tonumber(k) if id and type(v) == "table" then table.insert(entries, { id = id, cfg = v }) end end table.sort(entries, function(a, b) return a.id < b.id end) for _, e in ipairs(entries) do local id, cfg = e.id, e.cfg local label if cfg.Cost then idToCost[tostring(id)] = tonumber(cfg.Cost) label = string.format("Egg %d (%s)", id, fmtCost(tonumber(cfg.Cost))) elseif cfg.DeveloperProductName then label = string.format("Egg %d (Robux)", id) else label = "Egg " .. id end table.insert(EGG_OPTIONS, label) labelToId[label] = tostring(id) end end local selectedEgg = labelToId[EGG_OPTIONS[1]] or "1" local hatchAmount = 1 local hatchBtn local function refreshHatchLabel() if not hatchBtn then return end local unit = idToCost[selectedEgg] if unit then hatchBtn:Set(string.format("Hatch %d Egg(s) — Total %s", hatchAmount, fmtCost(unit * hatchAmount))) else hatchBtn:Set(string.format("Hatch %d Egg(s) — Robux", hatchAmount)) end end EggTab:CreateDropdown({ Name = "Egg", Options = EGG_OPTIONS, CurrentOption = { EGG_OPTIONS[1] }, Flag = "dropdown_Egg", Callback = function(opt) local label = (type(opt) == "table" and opt[1] or opt) or EGG_OPTIONS[1] selectedEgg = labelToId[label] or selectedEgg refreshHatchLabel() end, }) EggTab:CreateSlider({ Name = "Amount", Range = { 1, 30 }, Increment = 1, Suffix = " eggs", CurrentValue = 1, Flag = "slider_EggAmount", Callback = function(value) hatchAmount = value refreshHatchLabel() end, }) hatchBtn = EggTab:CreateButton({ Name = "Hatch Egg(s)", Callback = function() EggOpen:InvokeServer(selectedEgg, nil, hatchAmount) end, }) refreshHatchLabel() EggTab:CreateSection("Cleanup") EggTab:CreateParagraph({ Title = "⚠ Sell All Unequipped", Content = "Sells every pet not currently equipped or Locked. Commons sell for ~25-30 each, so a 100+ pet purge usually pays out under your egg cost. Lock your good pets first.", }) local PetsSell = RS:WaitForChild("Events"):WaitForChild("Pets"):WaitForChild("Sell") EggTab:CreateButton({ Name = "Sell All Unequipped Pets", Callback = function() local equipped = {} for _, ov in ipairs(LP.AttachedPets:GetChildren()) do if ov:IsA("ObjectValue") and ov.Value then equipped[ov.Value] = true end end local batch = {} for _, p in ipairs(LP.Pets:GetChildren()) do if not equipped[p] and not p:GetAttribute("Locked") then table.insert(batch, p) end end if #batch > 0 then PetsSell:FireServer(batch) end end, }) local GamepassTab = Window:CreateTab("Gamepass", 4483362458) GamepassTab:CreateSection("Free Gamepasses (client-side)") GamepassTab:CreateButton({ Name = "Get Triple Hatch", Callback = function() spoofGamepass("OpenCapsuleX3", 1711700165) end, }) GamepassTab:CreateButton({ Name = "Get Auto Hatch", Callback = function() spoofGamepass("EggAutoOpen", 1711796158) end, })