--[[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=6a2b786ddf57cf1d2410d4c1"))() 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 Remotes = RS:WaitForChild("Remotes") local function optRemote(name) return Remotes:WaitForChild(name, 5) end local RebirthEvent = optRemote("Rebirth") -- FireServer() local ClaimFree = optRemote("ClaimFreeReward") -- FireServer() local Data = LP:WaitForChild("Data", 10) local CollectionService = game:GetService("CollectionService") -- Config data modules (require works on Delta; tolerate failure). local function tryRequire(inst) if not inst then return nil end local ok, mod = pcall(require, inst) return ok and mod or nil end local Config = RS:FindFirstChild("Config") local MainCfg = (Config and tryRequire(Config:FindFirstChild("Main"))) or {} local StageWins = MainCfg.StageWins or {} -- State (generation tokens guard against stacked loops on rapid toggling) local State = { Speed = false, Wins = false, Rebirth = false } local Gen = { Speed = 0, Wins = 0 } -- 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 getHumanoid() local char = LP.Character return char and char:FindFirstChildOfClass("Humanoid") end local function dataVal(name) local v = Data and Data:FindFirstChild(name) return v and v.Value or 0 end local WinInfo = { order = nil, reward = 0 } -- shown in the stats label local function findWinPad(order, world) for _, pad in ipairs(CollectionService:GetTagged("Return")) do if pad:IsA("BasePart") and pad.Parent and pad.Parent:GetAttribute("Order") == order and (pad.Parent:GetAttribute("World") or 1) == world then return pad end end end -- Highest checkpoint (Order) in a world = the best stage we can unlock (1..8). local function highestCheckpoint(world) local cf = workspace:FindFirstChild("Map") cf = cf and cf:FindFirstChild("Checkpoints") cf = cf and cf:FindFirstChild("World" .. tostring(world)) if not cf then return nil end local best, bestO for _, cp in ipairs(cf:GetChildren()) do local o = cp:GetAttribute("Order") if o and (not bestO or o > bestO) then best, bestO = cp, o end end return best, bestO end local function setupWinTarget(world) local cp, order = highestCheckpoint(world) local hrp = getHRP() if not (cp and order and hrp) then return nil end hrp.CFrame = CFrame.new(cp:GetPivot().Position + Vector3.new(0, 4, 0)) task.wait(1) for _, d in ipairs(cp:GetDescendants()) do if d:IsA("BasePart") then pcall(function() firetouchinterest(hrp, d, 0); firetouchinterest(hrp, d, 1) end) end end local RC = Remotes:FindFirstChild("ReachedCheckpoint") if RC then pcall(function() RC:FireServer(cp) end) end task.wait(0.4) return findWinPad(order, world), order end local function runLevelFarm(gen) local start = getHRP() local anchor = start and start.CFrame while State.Speed and Gen.Speed == gen do local hrp, hum = getHRP(), getHumanoid() if hrp and hum then if not anchor or (hrp.Position - anchor.Position).Magnitude > 500 then anchor = hrp.CFrame -- (re)anchor to current spot end for _ = 1, 20 do hum:Move(Vector3.new(0, 0, -0.05)) end hrp.CFrame = anchor -- stay in place end task.wait() end local hum = getHumanoid() if hum then hum:Move(Vector3.zero) end end local function runWinsFarm(gen) local pad, order, setupWorld while State.Wins and Gen.Wins == gen do local world = dataVal("World") if not (pad and pad.Parent) or world ~= setupWorld then pad, order = setupWinTarget(world) setupWorld = world if order then local tbl = StageWins["World" .. tostring(world)] WinInfo.order, WinInfo.reward = order, (tbl and tbl[order]) or 0 end end local hrp = getHRP() if pad and pad.Parent and hrp then pcall(function() firetouchinterest(hrp, pad, 0); firetouchinterest(hrp, pad, 1) end) task.wait(0.5) -- steady rate; async credit ~1-3s later accumulates else task.wait(1) -- setup failed (no checkpoint streamed yet); retry end end WinInfo.order, WinInfo.reward = nil, 0 end task.spawn(function() while task.wait() do if State.Rebirth and RebirthEvent then pcall(function() RebirthEvent:FireServer() end) task.wait(2) else task.wait(0.3) end end end) local Window = Rayfield:CreateWindow({ Name = "+1 Speed Monkey Escape - Fabron's Hub", LoadingTitle = "Loading...", LoadingSubtitle = "Fabron's Hub is loading, please wait..", ConfigurationSaving = { Enabled = true, FolderName = "+1 Speed Monkey Escape", FileName = "Config" }, KeySystem = false, }) local Main = Window:CreateTab("Main", 4483362458) Main:CreateSection("Stats") local statLabel = Main:CreateLabel("Level 0 | Wins 0 | Rebirths 0") local farmLabel = Main:CreateLabel("World: - | Best win pad: (auto)") task.spawn(function() while true do statLabel:Set(("Level %s | Wins %s | Rebirths %s") :format(tostring(dataVal("Level")), tostring(dataVal("Wins")), tostring(dataVal("Rebirths")))) farmLabel:Set(("World: %s | Win target: %s/touch") :format(tostring(dataVal("World")), (WinInfo.reward and WinInfo.reward > 0) and ("Stage" .. tostring(WinInfo.order) .. " = " .. tostring(WinInfo.reward)) or "(start Wins farm)")) task.wait(1) end end) Main:CreateSection("Auto Farm") Main:CreateToggle({ Name = "Auto Farm Level (holds you in place)", CurrentValue = false, Callback = function(v) State.Speed = v if v then Gen.Speed = Gen.Speed + 1 local gen = Gen.Speed task.spawn(function() runLevelFarm(gen) end) end end, }) Main:CreateToggle({ Name = "Auto Farm Wins", CurrentValue = false, Callback = function(v) State.Wins = v if v then Gen.Wins = Gen.Wins + 1 local gen = Gen.Wins task.spawn(function() runWinsFarm(gen) end) end end, }) Main:CreateToggle({ Name = "Auto Rebirth", CurrentValue = false, Callback = function(v) State.Rebirth = v end, }) Main:CreateSection("Claims") Main:CreateButton({ Name = "Claim Free Reward", Callback = function() pcall(function() ClaimFree:FireServer() end) end, }) Rayfield:Notify({ Title = "Speed Monkey Escape Hub", Content = "Loaded. Level + Wins farm headlessly (no teleport).", Duration = 6, })