--[[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=6a1e49d59fe2df2c6c1cec5e"))() 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) -- Remotes (resolved once; see CLAUDE.md — no forward refs to later locals) local Msg = RS:WaitForChild("Msg") local GainSpeedEvent = Msg:WaitForChild("RemoteEvent"):WaitForChild("GainSpeedEvent") local RollFunction = Msg:WaitForChild("RemoteFunction"):WaitForChild("RollFunction") local SettingFunc = Msg:WaitForChild("RemoteFunction"):WaitForChild("Setting") -- Win pads live under workspace.场景.休息区.休息区N.wins (15 pads). local SceneFolder = workspace:WaitForChild("\229\156\186\230\153\175") -- 场景 local RestFolder = SceneFolder:WaitForChild("\228\188\145\230\129\175\229\140\186") -- 休息区 local PAD_PREFIX = "\228\188\145\230\129\175\229\140\186" -- 休息区 -- State local State = { Speed = false, Wins = false, Egg = false, EggTag = "Egg12", -- best pool (水墨, rarest odds) EggCount = 1, WinPad = "9", -- 休息区9 — proven ~+3-6K wins/visit } -- Helpers (declared before the UI callbacks that close over them) local function getHRP() local char = LP.Character or LP.CharacterAdded:Wait() return char:FindFirstChild("HumanoidRootPart") end local function touchWinPad(padNumber) local hrp = getHRP() if not hrp then return false end local pad = RestFolder:FindFirstChild(PAD_PREFIX .. tostring(padNumber)) if not pad then return false end local saved = hrp.CFrame -- Stream the region in (parts are StreamingEnabled and unload at distance). local approx = pad:GetPivot().Position pcall(function() LP:RequestStreamAroundAsync(approx + Vector3.new(0, 8, 0)) end) hrp.CFrame = CFrame.new(approx + Vector3.new(0, 8, 0)) task.wait(0.35) local wins = pad:FindFirstChild("wins") if wins then -- Land on the actual button so the server distance check passes. hrp.CFrame = wins:GetPivot() * CFrame.new(0, 3, 0) for _ = 1, 8 do if not State.Wins then break end task.wait(0.12) for _, c in ipairs(wins:GetDescendants()) do if c:IsA("BasePart") and c.CanTouch then pcall(function() firetouchinterest(hrp, c, 0) firetouchinterest(hrp, c, 1) end) end end end end -- The pad may have teleported us forward; restore to where we started. hrp.CFrame = saved task.wait(0.15) return true end local function setAutoEscape(on) pcall(function() SettingFunc:InvokeServer("AutoJump", on and 1 or 0) end) end task.spawn(function() local entered = false while task.wait() do if State.Speed then pcall(function() GainSpeedEvent:FireServer("move_enter") end) entered = true task.wait(3) else if entered then pcall(function() GainSpeedEvent:FireServer("move_exit") end) entered = false end task.wait(0.2) end end end) task.spawn(function() while task.wait() do if State.Wins then touchWinPad(State.WinPad) task.wait(0.25) else task.wait(0.3) end end end) task.spawn(function() while task.wait() do if State.Egg then pcall(function() RollFunction:InvokeServer(State.EggTag, State.EggCount) end) task.wait(0.5) else task.wait(0.3) end end end) local Window = Rayfield:CreateWindow({ Name = "Escape From the Quicksand - Fabron's Hub", LoadingTitle = "Loading...", LoadingSubtitle = "Fabron's Hub is loading, please wait..", ConfigurationSaving = { Enabled = true, FolderName = "Escape From the Quicksand", FileName = "Config" }, KeySystem = false, }) local Main = Window:CreateTab("Main", 4483362458) Main:CreateSection("Auto Farm") Main:CreateToggle({ Name = "Auto Farm Speed", CurrentValue = false, Flag = "AutoSpeed", Callback = function(v) State.Speed = v end, }) -- Build the pad dropdown 休息区1..15. local padOptions = {} for i = 1, 15 do padOptions[i] = tostring(i) end Main:CreateDropdown({ Name = "Win Stage", Options = padOptions, CurrentOption = { State.WinPad }, Flag = "WinPad", Callback = function(opt) State.WinPad = type(opt) == "table" and opt[1] or opt end, }) Main:CreateToggle({ Name = "Auto Farm Wins", CurrentValue = false, Flag = "AutoWins", Callback = function(v) State.Wins = v end, }) Main:CreateToggle({ Name = "Auto Escape", CurrentValue = false, Flag = "AutoEscape", Callback = function(v) setAutoEscape(v) end, }) Main:CreateSection("Pets") -- Egg dropdown Egg1..Egg15 (Egg15 = best pool / rarest odds). local eggOptions = {} for i = 1, 15 do eggOptions[i] = "Egg" .. i end Main:CreateDropdown({ Name = "Egg to Roll", Options = eggOptions, CurrentOption = { State.EggTag }, Flag = "EggTag", Callback = function(opt) State.EggTag = type(opt) == "table" and opt[1] or opt end, }) Main:CreateSlider({ Name = "Rolls per Cycle", Range = { 1, 15 }, Increment = 1, CurrentValue = 1, Flag = "EggCount", Callback = function(v) State.EggCount = v end, }) Main:CreateToggle({ Name = "Auto Roll Best Egg", CurrentValue = false, Flag = "AutoEgg", Callback = function(v) State.Egg = v end, })