--[[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=6a09b056728d86c71b3967ea"))() end) end) --[[rscripts:analytics:end]] if _G.FABRON_CONNS then for _, c in ipairs(_G.FABRON_CONNS) do pcall(function() c:Disconnect() end) end end if _G.FABRON_INSTANCES then for _, i in ipairs(_G.FABRON_INSTANCES) do pcall(function() i:Destroy() end) end end if _G.FABRON_DESTROY_UI then pcall(_G.FABRON_DESTROY_UI) end _G.FABRON_CONNS = {} _G.FABRON_INSTANCES = {} _G.FABRON_GEN = (_G.FABRON_GEN or 0) + 1 local GEN = _G.FABRON_GEN pcall(function() local f = "KeyboardEscape_Fabron/Config.rfld" if isfile and isfile(f) then delfile(f) end end) local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() -- Track our connections + instances so the next reload can clean them. local function track(c) table.insert(_G.FABRON_CONNS, c); return c end local function trackInst(i) table.insert(_G.FABRON_INSTANCES, i); return i end local disableTraps = function() return 0 end local Players = game:GetService("Players") local RunService = game:GetService("RunService") local VirtualUser = game:GetService("VirtualUser") local UserInput = game:GetService("UserInputService") local ReplicatedSt = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local Workspace = workspace local LP = Players.LocalPlayer local Remotes = ReplicatedSt:WaitForChild("Remotes") local safeRequire do local probe = ReplicatedSt:WaitForChild("Config") if pcall(require, probe) then safeRequire = require else if not decompile then error("safeRequire: require blocked and `decompile` unavailable on this executor") end local cache = {} safeRequire = function(m) local cached = cache[m] if cached ~= nil then return cached end local ok, v = pcall(require, m) if ok then cache[m] = v; return v end local fn, perr = loadstring(decompile(m)) if not fn then error("safeRequire: parse error on "..m:GetFullName()..": "..tostring(perr)) end setfenv(fn, setmetatable({ require = safeRequire, script = m }, { __index = getfenv() })) local result = fn() cache[m] = result return result end end end local Config = safeRequire(ReplicatedSt:WaitForChild("Config")) local function hasPlayerData() local data = safeRequire(ReplicatedSt:WaitForChild("ClientState")):Get() or {} if (data.Level or 0) > 0 then return true end local ls = LP:FindFirstChild("leaderstats") local wins = ls and ls:FindFirstChild("Wins") if wins and (wins.Value or 0) > 0 and (data.Wins or 0) == 0 then return false end return true end local HAS_PLAYER_DATA = hasPlayerData() local function getCharacter() return LP.Character end local function getHumanoid() local c = getCharacter() return c and c:FindFirstChildOfClass("Humanoid") end local function getRoot() local c = getCharacter() return c and c:FindFirstChild("HumanoidRootPart") end local function safeFire(name, ...) local r = Remotes:FindFirstChild(name) if not r then return end if r:IsA("RemoteEvent") then pcall(r.FireServer, r, ...) elseif r:IsA("RemoteFunction") then pcall(r.InvokeServer, r, ...) end end local function tweenToVec(pos, speed) local root = getRoot() if not root then return end local dist = (root.Position - pos).Magnitude local t = math.max(0.05, dist / math.max(1, speed)) local tw = TweenService:Create(root, TweenInfo.new(t, Enum.EasingStyle.Linear), { CFrame = CFrame.new(pos) }) tw:Play(); tw.Completed:Wait() end local function flyToVec(pos, speed) speed = speed or 250 local root = getRoot() local char = getCharacter() if not (root and char) then return end -- Noclip every frame so respawned/newly-streamed limbs stay non-coll. local restore = {} local function noclip() for _, p in ipairs(char:GetDescendants()) do if p:IsA("BasePart") and p.CanCollide then restore[p] = restore[p] == nil and p.CanCollide or restore[p] p.CanCollide = false end end end noclip() local bv = Instance.new("BodyVelocity") bv.Name = "FabronAutoFlyBV" bv.MaxForce = Vector3.new(1e5, 1e5, 1e5) bv.Velocity = Vector3.zero bv.Parent = root local bg = Instance.new("BodyGyro") bg.Name = "FabronAutoFlyBG" bg.MaxTorque = Vector3.new(1e5, 1e5, 1e5) bg.P = 1e4 bg.CFrame = root.CFrame bg.Parent = root local timeout = tick() + math.max(2, ((root.Position - pos).Magnitude / speed) * 3) while (root.Position - pos).Magnitude > 4 do if tick() > timeout then break end bv.Velocity = (pos - root.Position).Unit * speed noclip() RunService.Heartbeat:Wait() end bv:Destroy(); bg:Destroy() for p, prev in pairs(restore) do if p and p.Parent then p.CanCollide = prev end end end local function streamAround(cf) if LP.RequestStreamAroundAsync then pcall(function() LP:RequestStreamAroundAsync(cf.Position) end) end end -- Anti-AFK track(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 = "Keyboard Escape — Fabron's Hub", LoadingTitle = "Loading...", LoadingSubtitle = "Fabron's Hub", ConfigurationSaving = { Enabled = true, FolderName = "KeyboardEscape_Fabron", FileName = "Config" }, KeySystem = false, }) local function notify(title, content, dur) Rayfield:Notify({ Title = title, Content = content, Duration = dur or 4 }) end local XP_MIN_COOLDWN = Config.XP_TIME_BASED and Config.XP_TIME_BASED.MIN_COOLDOWN or 0.1 -- AUTO FARM WINS local WinTab = Window:CreateTab("Auto Farm Wins", 4483362458) local winCache = {} local function readStageLevel(stageFolder) local tb = stageFolder and stageFolder:FindFirstChild("TextBoard") if not tb then return nil end for _, d in ipairs(tb:GetDescendants()) do if d:IsA("TextLabel") then local n = tonumber(tostring(d.Text):match("Level%s+(%d+)")) if n then return n end end end end local function recordWinBlock(part) if not part:IsA("BasePart") then return end local nm = part.Name if not nm:match("^WinBlock") then return end local val = Config.WIN_AMOUNTS and Config.WIN_AMOUNTS[nm] or 0 if val == 0 then local stageNum = part.Parent and tonumber(tostring(part.Parent.Name):match("Stage(%d+)")) if stageNum then local key = stageNum == 1 and "WinBlock" or ("WinBlock" .. stageNum) val = Config.WIN_AMOUNTS[key] or 0 end end local stageName = part.Parent and part.Parent.Name or "?" winCache[nm .. "@" .. stageName] = { cf = part.CFrame, value = val, name = nm, stage = stageName, inst = part, reqLvl = readStageLevel(part.Parent), } end for _, d in ipairs(Workspace:GetDescendants()) do recordWinBlock(d) end track(Workspace.DescendantAdded:Connect(recordWinBlock)) local function sortedCache() local list = {} for _, v in pairs(winCache) do list[#list+1] = v end table.sort(list, function(a, b) return (a.value or 0) > (b.value or 0) end) return list end local RECORDED_PATHS = { MASTER = { -- Stages 1-5 (X≈1.5 corridor, climbs to Y≈75) Vector3.new(-3.6, 9.0, 16.9), Vector3.new(12.0, 9.8, 94.6), Vector3.new(16.9, 9, 244.5), Vector3.new(18.1, 8.5, 320.5), Vector3.new(18.3, 8.5, 546.4), Vector3.new(17.5, 47, 686.0), Vector3.new(14.4, 75, 750.3), Vector3.new(12.2, 88.2, 824.7), Vector3.new( 7.7, 85.4, 900.5), Vector3.new( 1.4, 81.0, 1052.8), Vector3.new( 1.1, 79.3, 1128.2), Vector3.new( 0.9, 81.0, 1204.2), Vector3.new( 0, 77, 1419), -- Tsunami1 sweep crosses here -- Corridor turns from +Z to -X; stages 6-9 run at Y≈55, Z≈1465 Vector3.new( -3.1, 75.1, 1437.3), Vector3.new( -67.8, 57.4, 1437.5), Vector3.new( -194.1, 53.8, 1453.8), Vector3.new( -345.8, 53.7, 1462.7), Vector3.new( -538.0, 57.8, 1465.0), -- WB6 area Vector3.new( -697.6, 54.1, 1464.7), Vector3.new( -895.6, 55.4, 1463.3), Vector3.new(-1007.0, 54.0, 1465.0), -- WB7 area -- Elevator at X≈-1088 climbs from Y≈75 to Y≈286 Vector3.new(-1088.0, 75.3, 1465.6), Vector3.new(-1088.0, 145.8, 1466.4), Vector3.new(-1088.0, 286.1, 1466.4), Vector3.new(-1122.0, 302.0, 1466.0), -- WB8 area -- Stages 10-14 run at Y≈300-330, Z≈1465 Vector3.new(-1296.0, 303.0, 1466.0), Vector3.new(-1535.9, 354.7, 1464.2), Vector3.new(-1762.2, 328.0, 1465.1), Vector3.new(-2037.9, 324.1, 1466.1), Vector3.new(-2289.3, 329.7, 1466.9), Vector3.new(-2515.6, 322.2, 1467.3), Vector3.new(-2742.3, 299.0, 1465.8), Vector3.new(-3000.0, 296.7, 1462.8), Vector3.new(-3264.3, 295.6, 1430.2), Vector3.new(-3540.9, 297.0, 1446.6), Vector3.new(-3814.4, 295.3, 1463.6), Vector3.new(-3914.3, 295.5, 1464.6), -- Stage 11 → 12 climb (Y=295 → Y=480) Vector3.new(-4055.0, 332.2, 1475.4), Vector3.new(-4150.0, 370.0, 1490.0), Vector3.new(-4310.0, 473.0, 1526.0), Vector3.new(-4485.0, 481.0, 1530.0), Vector3.new(-4750.0, 492.0, 1475.0), Vector3.new(-4995.0, 486.0, 1453.0), Vector3.new(-5240.0, 477.0, 1474.0), Vector3.new(-5460.0, 489.0, 1475.0), Vector3.new(-5685.0, 521.0, 1481.0), Vector3.new(-5860.0, 526.0, 1485.0), }, } local CLAIM_SPEED = 3000 -- BodyVelocity speed for fly legs local selectedTargetName = nil -- e.g. "WinBlock1" local skipClaim = false -- true → fly the path but don't sidestep onto the WB local WB_LEVELS = { WinBlock1 = 1, WinBlock2 = 6, WinBlock3 = 10, WinBlock4 = 15, WinBlock5 = 10, WinBlock6 = 30, WinBlock7 = 35, WinBlock8 = 45, WinBlock9 = 55, WinBlock10 = 70, WinBlock11 = 80, WinBlock12 = 90, WinBlock13 = 100, WinBlock14 = 110, WinBlock15 = 120, } -- Hardcoded WinBlock positions (the block centers we land on to claim). local WB_POSITIONS = { WinBlock1 = Vector3.new( -16.5, 6.9, 284.7), WinBlock2 = Vector3.new( -16.5, 6.9, 506.7), WinBlock3 = Vector3.new( -16.5, 75.1, 774.4), WinBlock4 = Vector3.new( -16.5, 75.1, 1108.4), WinBlock5 = Vector3.new( -16.5, 75.1, 1411.3), WinBlock6 = Vector3.new(-538.4, 52.5, 1447.9), WinBlock7 = Vector3.new(-1007.7, 52.5, 1447.9), WinBlock8 = Vector3.new(-1123.5, 294.5, 1447.9), WinBlock9 = Vector3.new(-2970.3, 294.5, 1447.9), WinBlock10 = Vector3.new(-3938.4, 294.5, 1447.9), WinBlock11 = Vector3.new(-4368.3, 469.0, 1512.4), WinBlock12 = Vector3.new(-5342.9, 468.6, 1457.1), WinBlock13 = Vector3.new(-6809.9, 519.6, 1469.1), WinBlock14 = Vector3.new(-8353.0, 482.5, 1468.9), } local function claimWinAt(pos) local hum = getHumanoid() if not (hum and hum.Health > 0) then return end hum.WalkSpeed = 250 hum:MoveTo(pos + Vector3.new(0, 1, 0)) -- 4s timeout for the same reason as the path legs (avoid respawn hangs). local done = false task.spawn(function() hum.MoveToFinished:Wait(); done = true end) local started = tick() while not done and tick() - started < 4 do task.wait(0.05) end RunService.Heartbeat:Wait(); RunService.Heartbeat:Wait() end local MASTER_PATH = RECORDED_PATHS.MASTER local function pathToTarget(name) local wb = WB_POSITIONS[name] if not wb then return {} end local nearestIdx, nearestDist = 1, math.huge for i, p in ipairs(MASTER_PATH) do local d = (p - wb).Magnitude if d < nearestDist then nearestDist = d; nearestIdx = i end end local seq = {} local TSUNAMI_GATE_IDX = 13 local tsunamiInserted = false for i = 1, nearestIdx do if i == TSUNAMI_GATE_IDX and not tsunamiInserted then seq[#seq+1] = { Vector3.new(0, 77, 1419), 250, "wait_tsunami1" } tsunamiInserted = true end seq[#seq+1] = { MASTER_PATH[i], 250, "fly" } end if not skipClaim then seq[#seq+1] = { wb + Vector3.new(0, 4, 0), 60, "fly" } end return seq end local nextClaimTime = 0 local cycleAbort = false -- Reset button flips this so inner loops bail task.spawn(function() while task.wait(XP_MIN_COOLDWN) do if GEN ~= _G.FABRON_GEN then return end if selectedTargetName then safeFire("UpdateSpeed", "Walking") end end end) track(RunService.Heartbeat:Connect(function() if not selectedTargetName then return end if tick() >= nextClaimTime then return end -- not in cooldown local root = getRoot() if not root then return end local phase = (tick() * 1.7) % 1 local sx = phase < 0.5 and 1 or -1 local sz = phase < 0.5 and -1 or 1 root.AssemblyLinearVelocity = Vector3.new(60 * sx, 0, 60 * sz) end)) track(RunService.RenderStepped:Connect(function() if not selectedTargetName then return end local hum = getHumanoid() if hum then hum.WalkSpeed = 250 end end)) task.spawn(function() while task.wait(0.3) do if GEN ~= _G.FABRON_GEN then return end local name = selectedTargetName if not name then continue end if tick() < nextClaimTime then continue end cycleAbort = false -- fresh cycle local wb = WB_POSITIONS[name] if not wb then notify("Auto Farm", name .. ": no position in WB_POSITIONS") selectedTargetName = nil; continue end if HAS_PLAYER_DATA then local lvl = (safeRequire(ReplicatedSt.ClientState):Get() or {}).Level or 0 local need = WB_LEVELS[name] if need and lvl < need then notify("Auto Farm", string.format("%s needs Lv %d (you: Lv %d) — stopping", name, need, lvl)) selectedTargetName = nil; continue end end disableTraps() local pathStartChar = LP.Character local died = false local PathfindingService = game:GetService("PathfindingService") local function walkTo(target) local hum = getHumanoid() local root = getRoot() if not (hum and root and hum.Health > 0) then return end hum.WalkSpeed = 250 local path = PathfindingService:CreatePath({ AgentRadius = 2, AgentHeight = 5, AgentCanJump = true, AgentJumpHeight = 30, AgentMaxSlope = 89, }) local ok = pcall(function() path:ComputeAsync(root.Position, target) end) local waypoints = (ok and path.Status == Enum.PathStatus.Success) and path:GetWaypoints() or nil if not waypoints or #waypoints == 0 then -- Fall back to direct MoveTo if pathfinding fails. hum:MoveTo(target) local done = false task.spawn(function() hum.MoveToFinished:Wait(); done = true end) local s = tick() while not done and tick() - s < 6 do task.wait(0.05) end return end for _, wp in ipairs(waypoints) do if selectedTargetName ~= name then return end if wp.Action == Enum.PathWaypointAction.Jump then hum.Jump = true end hum:MoveTo(wp.Position) local done = false task.spawn(function() hum.MoveToFinished:Wait(); done = true end) local s = tick() while not done and tick() - s < 4 do task.wait(0.05) end end end for _, leg in ipairs(pathToTarget(name)) do if cycleAbort then break end if selectedTargetName ~= name then break end if LP.Character ~= pathStartChar then died = true; break end local hum = getHumanoid() if not (hum and hum.Health > 0) then died = true; break end local mode = leg[3] or "walk" if mode == "wait_tsunami1" then flyToVec(leg[1], 250) local function tsunamiX() local p = Workspace:FindFirstChild("NPC & Piege") p = p and p:FindFirstChild("Tsunami1") p = p and p:FindFirstChild("Tsunami") return p and p.Position.X end while true do if cycleAbort then break end if selectedTargetName ~= name then break end if LP.Character ~= pathStartChar then died = true; break end local x = tsunamiX() if not x or x > 50 then break end flyToVec(leg[1], 250) task.wait(0.1) end elseif mode == "fly" then flyToVec(leg[1], leg[2] or 250) else walkTo(leg[1]) end end if selectedTargetName ~= name then continue end if died then notify("Auto Farm", "Died mid-path — restarting") nextClaimTime = 0 continue end if not skipClaim then local winsBefore = (safeRequire(ReplicatedSt.ClientState):Get() or {}).Wins or 0 claimWinAt(wb) local deadline = tick() + 8 local nudgeAt = 0 while tick() < deadline do if cycleAbort then break end local now = (safeRequire(ReplicatedSt.ClientState):Get() or {}).Wins or 0 if now > winsBefore then break end if selectedTargetName ~= name then break end local root = getRoot() local hum = getHumanoid() if not (root and hum) then break end if (root.Position - wb).Magnitude > 50 then break end if tick() - nudgeAt > 0.4 then nudgeAt = tick() local dir = (tick() % 0.8 < 0.4) and 1 or -1 root.AssemblyLinearVelocity = Vector3.new(20 * dir, 0, 20 * dir) end task.wait(0.1) end end nextClaimTime = tick() + 20 end end) -- Surface the auto-farm cooldown as a paragraph that updates every frame. local cooldownPara task.spawn(function() while task.wait(0.25) do if GEN ~= _G.FABRON_GEN then return end if not cooldownPara then continue end local remaining = math.max(0, nextClaimTime - tick()) if selectedTargetName then cooldownPara:Set({ Title = "Cooldown", Content = string.format("%s — next claim in %.1fs", selectedTargetName, remaining), }) else cooldownPara:Set({ Title = "Cooldown", Content = "(stopped)" }) end end end) local function targetOptions() local list = { "(stop)" } local order = {} for name in pairs(WB_POSITIONS) do order[#order+1] = name end table.sort(order, function(a, b) return (tonumber(a:match("(%d+)")) or 0) < (tonumber(b:match("(%d+)")) or 0) end) local playerLvl = HAS_PLAYER_DATA and ((safeRequire(ReplicatedSt.ClientState):Get() or {}).Level or 0) or nil for _, name in ipairs(order) do local need = WB_LEVELS[name] local lock = (playerLvl and need and playerLvl < need) and " 🔒" or "" local n = tonumber(name:match("(%d+)")) or 0 list[#list+1] = "Win stage " .. n .. " (Lv " .. tostring(need or "?") .. ")" .. lock end return list end local targetDropdown targetDropdown = WinTab:CreateDropdown({ Name = "Auto Farm Win and Speed", Options = targetOptions(), CurrentOption = { "(stop)" }, MultipleOptions = false, Flag = "TargetBlock", Callback = function(opt) local v = type(opt) == "table" and opt[1] or opt v = tostring(v) if v:sub(1, 1) == "(" then selectedTargetName = nil; skipClaim = false; return end local n = tonumber(v:match("(%d+)")) or 0 skipClaim = false selectedTargetName = n > 0 and ("WinBlock" .. n) or nil if selectedTargetName then notify("Auto Farm", "Targeting Win stage " .. n) end end, }) cooldownPara = WinTab:CreateParagraph({ Title = "Cooldown", Content = "(stopped)" }) local opAutoFarm = false local opToggle if HAS_PLAYER_DATA then opToggle = WinTab:CreateToggle({ Name = "OP Auto Farm (best WB for your level)", CurrentValue = false, Flag = "OPAutoFarm", Callback = function(s) opAutoFarm = s if not s then selectedTargetName = nil skipClaim = false cycleAbort = true end end }) task.spawn(function() while task.wait(1) do if GEN ~= _G.FABRON_GEN then return end if not opAutoFarm then continue end local lvl = (safeRequire(ReplicatedSt.ClientState):Get() or {}).Level or 0 local best, bestN = nil, 0 for name, pos in pairs(WB_POSITIONS) do local n = tonumber(name:match("(%d+)")) or 0 local need = WB_LEVELS[name] or math.huge if lvl >= need and n > bestN then best, bestN = name, n end end if best and selectedTargetName ~= best then selectedTargetName = best skipClaim = false notify("OP Auto Farm", "Switched to Win stage " .. bestN .. " (your Lv " .. lvl .. ")") end end end) else WinTab:CreateParagraph({ Title = "OP Auto Farm", Content = "Disabled — couldn't read Level on this executor.", }) end WinTab:CreateButton({ Name = "Reset", Callback = function() selectedTargetName = nil skipClaim = false opAutoFarm = false cycleAbort = true nextClaimTime = 0 if opToggle and opToggle.Set then pcall(function() opToggle:Set(false) end) end if targetDropdown and targetDropdown.Set then pcall(function() targetDropdown:Set({ "(stop)" }) end) end notify("Auto Farm", "Reset — all loops stopped") end }) -- MOVEMENT local MovTab = Window:CreateTab("Movement", 4483362458) local walkSpeedEnabled = false local selectedWalkSpeed = 18 track(RunService.Heartbeat:Connect(function() if walkSpeedEnabled then local hum = getHumanoid() if hum then hum.WalkSpeed = selectedWalkSpeed end end end)) MovTab:CreateToggle({ Name = "Enable Custom WalkSpeed", CurrentValue = false, Flag = "WSEnabled", Callback = function(s) walkSpeedEnabled = s if not s then local hum = getHumanoid(); if hum then hum.WalkSpeed = 18 end end end }) MovTab:CreateSlider({ Name = "WalkSpeed", Range = {16, 250}, Increment = 1, Suffix = " s/s", CurrentValue = 18, Flag = "WSValue", Callback = function(v) selectedWalkSpeed = v end }) local noclipEnabled = false track(RunService.Stepped:Connect(function() if not noclipEnabled then return end local c = getCharacter() if not c then return end for _, p in ipairs(c:GetDescendants()) do if p:IsA("BasePart") and p.CanCollide then p.CanCollide = false end end end)) MovTab:CreateToggle({ Name = "Noclip", CurrentValue = false, Flag = "Noclip", Callback = function(s) noclipEnabled = s end }) -- Fly (WASD + Space/Ctrl) local flyEnabled = false local flyBV, flyBG, flyConn local function startFly() local root = getRoot() local hum = getHumanoid() if not root or not hum then return end flyBV = Instance.new("BodyVelocity", root) flyBV.MaxForce = Vector3.new(1e5, 1e5, 1e5) flyBV.Velocity = Vector3.zero flyBG = Instance.new("BodyGyro", root) flyBG.MaxTorque = Vector3.new(1e5, 1e5, 1e5) flyBG.CFrame = root.CFrame flyBG.P = 1e4 flyConn = RunService.RenderStepped:Connect(function() if not flyEnabled then return end local cam = Workspace.CurrentCamera local dir = Vector3.zero if UserInput:IsKeyDown(Enum.KeyCode.W) then dir = dir + cam.CFrame.LookVector end if UserInput:IsKeyDown(Enum.KeyCode.S) then dir = dir - cam.CFrame.LookVector end if UserInput:IsKeyDown(Enum.KeyCode.A) then dir = dir - cam.CFrame.RightVector end if UserInput:IsKeyDown(Enum.KeyCode.D) then dir = dir + cam.CFrame.RightVector end if UserInput:IsKeyDown(Enum.KeyCode.Space) then dir = dir + Vector3.new(0, 1, 0) end if UserInput:IsKeyDown(Enum.KeyCode.LeftControl) then dir = dir - Vector3.new(0, 1, 0) end flyBV.Velocity = dir.Magnitude > 0 and dir.Unit * 120 or Vector3.zero flyBG.CFrame = cam.CFrame end) end local function stopFly() if flyBV then flyBV:Destroy(); flyBV = nil end if flyBG then flyBG:Destroy(); flyBG = nil end if flyConn then flyConn:Disconnect(); flyConn = nil end end local trapsDisabled = false local function neutralizePart(p) if not (p and p:IsA("BasePart")) then return end pcall(function() p.CanCollide = false end) pcall(function() p.CanTouch = false end) end local function isTrapRoot(obj) if not obj or obj == LP.Character then return false end local n = obj.Name if n == "NPC & Piege" or n == "Lava" then return true end if n:sub(1, 3) == "NPC" then return true end return false end local function killTrapScripts() local pieges = LP.PlayerScripts and LP.PlayerScripts:FindFirstChild("Pièges") if not pieges then return 0 end local n = 0 for _, s in ipairs(pieges:GetDescendants()) do if s:IsA("LocalScript") then pcall(function() s.Disabled = true end) pcall(function() s:Destroy() end) n = n + 1 end end -- AntiTrip on the character can also cause ragdoll/death on collisions. local c = getCharacter() if c then local at = c:FindFirstChild("AntiTrip") if at and at:IsA("LocalScript") then pcall(function() at.Disabled = true; at:Destroy() end); n = n + 1 end end return n end local hpLoopStarted = false local function startHpRestore() if hpLoopStarted then return end hpLoopStarted = true track(RunService.Heartbeat:Connect(function() if not trapsDisabled then return end local hum = getHumanoid() if hum and hum.Health > 0 and hum.Health < hum.MaxHealth then hum.Health = hum.MaxHealth end end)) end disableTraps = function() local count = 0 for _, r in ipairs(Workspace:GetChildren()) do if isTrapRoot(r) then for _, d in ipairs(r:GetDescendants()) do if d:IsA("BasePart") then neutralizePart(d); count = count + 1 end end end end if not trapsDisabled then trapsDisabled = true track(Workspace.DescendantAdded:Connect(function(d) if not d:IsA("BasePart") then return end local p = d.Parent while p and p ~= Workspace do if isTrapRoot(p) then neutralizePart(d); return end p = p.Parent end end)) killTrapScripts() startHpRestore() track(LP.CharacterAdded:Connect(function() task.wait(0.5); killTrapScripts() end)) end return count end MovTab:CreateButton({ Name = "Disable All Traps + AI", Callback = function() notify("Traps", string.format("Neutralized %d parts", disableTraps())) end }) MovTab:CreateToggle({ Name = "Fly (WASD + Space/Ctrl)", CurrentValue = false, Flag = "Fly", Callback = function(s) flyEnabled = s if s then startFly() else stopFly() end end }) -- Save a teardown hook so the next reload destroys our UI before redrawing. _G.FABRON_DESTROY_UI = function() pcall(function() if Rayfield and Rayfield.Destroy then Rayfield:Destroy() end end) -- Belt-and-braces: nuke any CoreGui leftovers Rayfield left behind. pcall(function() for _, c in ipairs(game:GetService("CoreGui"):GetChildren()) do if c.Name == "Rayfield" then c:Destroy() end end end) end