-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] --[[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=6afb67614dd4291da95442f4"))() end) end) --[[rscripts:analytics:end]] --!nonstrict -- Neverlose | something evil will happen | F: flight, RightShift: menu -- The UI embedded below is the user's supplied Neverlose library. -- Optional host integration comes from this chunk's environment, not top-level varargs. -- Real can execute editor tabs inside a non-vararg function. local entryEnvironment = getfenv() local runtime = rawget(entryEnvironment, "NeverloseRuntime") if type(runtime) ~= "table" then runtime = nil end local suppliedSettings = rawget(entryEnvironment, "NeverloseSettings") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Input = game:GetService("UserInputService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local VirtualUser = game:GetService("VirtualUser") local CoreGui = game:GetService("CoreGui") local HttpService = game:GetService("HttpService") local ProximityPrompts = game:GetService("ProximityPromptService") local loadGameModule = require :: any local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui", 10) assert(playerGui, "PlayerGui is unavailable.") local previousSettings: any = {} if type(suppliedSettings) == "table" then previousSettings = suppliedSettings end local previousMenu = playerGui:FindFirstChild("NeverloseMenu") if previousMenu then local raw = previousMenu:GetAttribute("StatusJSON") if type(raw) == "string" then local decoded, settings = pcall(HttpService.JSONDecode, HttpService, raw) if decoded then previousSettings = settings end end end local hasSessionSettings = next(previousSettings) ~= nil for _, container in ipairs({playerGui, CoreGui}) do for _, name in ipairs({"NeverloseMenu", "NeverloseFly"}) do local old = container:FindFirstChild(name) if old then old:Destroy() end end end local state = { loaded = true, flying = false, speed = 60, boost = 2, stamina = false, health = false, shield = false, antiAFK = false, stayActive = false, damageBlocked = 0, detectionsBlocked = 0, idlePulses = 0, shieldStatus = "Off", lastDetection = "None", lastError = "None", speedMultiplier = 1, jumpMultiplier = 1, antiMove = false, positionLock = false, localEffect = "", effectDuration = 30, effectStacks = 1, antiRagdoll = true, knockbackStrength = 100, ragdollsBlocked = 0, noLocalCooldown = false, cooldownChecksBypassed = 0, gearCount = 0, instantPrompts = false, } local connections, restorations = {}, {} local window, UI, flight, staminaModule, events, antiTarget local flightToggle, staminaToggle, healthToggle, shieldToggle, afkToggle, activeToggle local speedSlider, hpLabel, staminaLabel, shieldLabel, damageLabel, afkLabel local focused = true local disposed = false local lastActiveRequest = 0 local STAMINA_FACTOR = "Neverlose_SEWH_NoDrain" local sprintModule, jumpModule, effectInfo, yourCharacter local appliedSpeed, appliedRun, appliedJump = 0, 0, 0 local motionGuard, lockedPosition local localEffects = {} local boostSpeedSlider, boostJumpSlider, antiMoveToggle, positionToggle local effectNames, effectLabel = {}, nil local ragdollModule, traumaModule, ragdollVisual, movementModule local antiRagdollToggle, strengthSlider, ragdollStatusLabel local savedRagdollStates local lastRagdollSync = 0 local localToolsModule local farmAim, espZombies local cooldownToggle, gearStatusLabel local instantPromptToggle local promptOverrides = {} local promptScanGeneration = 0 local gearOverrides = setmetatable({}, {__mode = "k"}) local function restoreGearTool(tool, record) if tool.Parent and record.forced and tool.Enabled then local enabled = record.enabled if tool:GetAttribute("Debounce") == true then enabled = false elseif record.debounce == true and tool:GetAttribute("Debounce") == false then enabled = true end tool.Enabled = enabled end gearOverrides[tool] = nil end local function refreshGear() local seen, lines = {}, {} local containers = {player:FindFirstChild("Backpack"), player.Character} for index = 1, 2 do local container = containers[index] if container then for _, tool in ipairs(container:GetChildren()) do if tool:IsA("Tool") then seen[tool] = true local remaining = tool:GetAttribute("Durability") local maximum = tool:GetAttribute("MaxDurability") local durability = tool:GetAttribute("Inf") == true and "unlimited (game flag)" or (tostring(remaining or "?") .. " / " .. tostring(maximum or "?")) table.insert(lines, tool.Name .. ": " .. durability) if state.noLocalCooldown and remaining ~= 0 then local record = gearOverrides[tool] if not record then record = {enabled = tool.Enabled, debounce = tool:GetAttribute("Debounce"), forced = false} gearOverrides[tool] = record end if not tool.Enabled then record.forced = true tool.Enabled = true end elseif gearOverrides[tool] then restoreGearTool(tool, gearOverrides[tool]) end end end end end for tool, record in pairs(gearOverrides) do if not seen[tool] then restoreGearTool(tool, record) end end state.gearCount = #lines table.sort(lines) if gearStatusLabel then gearStatusLabel:Set(#lines > 0 and (#lines .. " gear found. Actual uses remain server-controlled.") or "No gear in inventory") end end local function setLocalCooldown(value) state.noLocalCooldown = value == true and localToolsModule ~= nil if cooldownToggle then cooldownToggle:Set(state.noLocalCooldown, true) end refreshGear() end local function restoreRagdollStates() if not savedRagdollStates then return end local saved = savedRagdollStates savedRagdollStates = nil if saved.humanoid.Parent then for kind, enabled in pairs(saved.states) do saved.humanoid:SetStateEnabled(kind, enabled) end end end local function recoverRagdoll() if not state.antiRagdoll or state.flying then return end local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") if not humanoid or humanoid.Health <= 0 then return end if not savedRagdollStates or savedRagdollStates.humanoid ~= humanoid then restoreRagdollStates() local values = {} for _, kind in ipairs({Enum.HumanoidStateType.Ragdoll, Enum.HumanoidStateType.FallingDown}) do values[kind] = humanoid:GetStateEnabled(kind) humanoid:SetStateEnabled(kind, false) end savedRagdollStates = {humanoid = humanoid, states = values} end local wasRagdoll = ragdollModule and ragdollModule.ragdolled local tagged = character:HasTag("Ragdoll") if wasRagdoll and traumaModule then traumaModule.Unragdoll() end if tagged then character:RemoveTag("Ragdoll") if ragdollVisual then ragdollVisual.DisableRagdoll(character) end end local current = humanoid:GetState() if wasRagdoll or tagged or current == Enum.HumanoidStateType.Ragdoll or current == Enum.HumanoidStateType.FallingDown then if traumaModule then traumaModule.SetRagdollTimer(-1) end humanoid.PlatformStand = false humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, true) humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) if movementModule then for _, key in ipairs({"RagdolledNoSprint", "RagdolledNoSit", "RagdolledNoSwim"}) do movementModule.RemoveDisabler(key) end end if events and os.clock() - lastRagdollSync > 0.4 then lastRagdollSync = os.clock() events:FireServer("UpdateRagdoll", false, character) end end end local function setAntiRagdoll(value) state.antiRagdoll = value == true if antiRagdollToggle then antiRagdollToggle:Set(state.antiRagdoll, true) end if state.antiRagdoll then recoverRagdoll() else restoreRagdollStates() end end local function clearMotionGuard() if motionGuard then for _, object in ipairs(motionGuard.objects) do object:Destroy() end motionGuard = nil end lockedPosition = nil end local function clearLocalEffects() for name, entry in pairs(localEffects) do if entry.handle and type(entry.handle.Wipe) == "function" then pcall(entry.handle.Wipe) end localEffects[name] = nil end end local function applyMovementBoosts() if sprintModule then local factors = sprintModule.GetBaseFactor().Factors local originalWalk = factors.WalkMulti - appliedSpeed local target = originalWalk * (state.speedMultiplier - 1) local targetRun = (factors.RunMulti - appliedRun) * (state.speedMultiplier - 1) if math.abs(target - appliedSpeed) > 0.00001 or math.abs(targetRun - appliedRun) > 0.00001 then sprintModule.DestroyFactor("Neverlose_SpeedBoost") appliedSpeed = target appliedRun = targetRun sprintModule.CreateFactor("Neverlose_SpeedBoost", {WalkMulti = appliedSpeed, RunMulti = appliedRun}) end end if jumpModule then local base = jumpModule.GetJumpPower() - appliedJump local target = base * (state.jumpMultiplier - 1) if math.abs(target - appliedJump) > 0.00001 then appliedJump = target jumpModule.AddJumpPowerModifier("Neverlose_JumpBoost", target) end end end local function setMultiplier(kind, value) local number = tonumber(value) if not number or number ~= number then return end number = math.clamp(math.floor(number * 10 + 0.5) / 10, 1, 100) if kind == "speed" then state.speedMultiplier = number if boostSpeedSlider then boostSpeedSlider:Set(number, true) end else state.jumpMultiplier = number if boostJumpSlider then boostJumpSlider:Set(number, true) end end applyMovementBoosts() end local function connect(signal, callback) local connection = signal:Connect(callback) table.insert(connections, connection) return connection end local function restorePrompt(prompt) local record = promptOverrides[prompt] if not record then return end record.connection:Disconnect() promptOverrides[prompt] = nil pcall(function() if prompt.HoldDuration == 0 then prompt.HoldDuration = record.duration end end) end local function shortenPrompt(prompt) if disposed or not state.instantPrompts or not prompt:IsA("ProximityPrompt") or not prompt:IsDescendantOf(workspace) then return end local record = promptOverrides[prompt] if not record then record = {duration = prompt.HoldDuration} promptOverrides[prompt] = record record.connection = prompt:GetPropertyChangedSignal("HoldDuration"):Connect(function() if state.instantPrompts and not disposed and prompt.HoldDuration ~= 0 then -- Keep the game's newest duration so disabling the option restores it. record.duration = prompt.HoldDuration prompt.HoldDuration = 0 end end) end if prompt.HoldDuration ~= 0 then prompt.HoldDuration = 0 end end local function setInstantPrompts(value) state.instantPrompts = value == true if instantPromptToggle then instantPromptToggle:Set(state.instantPrompts, true) end promptScanGeneration += 1 local generation = promptScanGeneration if not state.instantPrompts then local prompts = {} for prompt in pairs(promptOverrides) do table.insert(prompts, prompt) end for _, prompt in ipairs(prompts) do restorePrompt(prompt) end return end -- Seed existing prompts once; future prompts are handled by events, with no frame loop. task.spawn(function() for index, instance in ipairs(workspace:GetDescendants()) do if disposed or generation ~= promptScanGeneration or not state.instantPrompts then return end if instance:IsA("ProximityPrompt") then shortenPrompt(instance) end if index % 400 == 0 then task.wait() end end end) end local function notify(text) if window and not disposed then window:Notify({Title = "Neverlose", Text = text, Duration = 4, Icon = "info"}) end end local function report(err) state.lastError = tostring(err) warn("[Neverlose SEWH] " .. state.lastError) notify(state.lastError) end local function applyLocalEffect(name) assert(effectInfo and yourCharacter, "Effect modules are unavailable.") local info = effectInfo.GetEffectInfo(name) assert(info, "Unknown effect: " .. tostring(name)) local folder = ReplicatedStorage.Resources.Client.ClientStatusEffects.EffectLogic local module = folder:FindFirstChild(name) assert(module and module:IsA("ModuleScript"), name .. " has no client component; it requires the server.") local character = yourCharacter.GetCharacter() assert(character and character.Model == player.Character, "Wait for your character to spawn.") local existing = localEffects[name] if existing and existing.handle and existing.handle.Wipe then existing.handle.Wipe() end local factory = loadGameModule(module) local handle = factory(character, table.clone(info.Config or {})) assert(type(handle) == "table" and type(handle.Wipe) == "function", "Effect did not provide a cleanup handle.") localEffects[name] = {handle = handle, expires = os.clock() + state.effectDuration} if handle.OnStack then handle.OnStack(state.effectStacks) end state.localEffect = name notify(name .. ": client component applied for " .. state.effectDuration .. " seconds.") end local function updateMotionGuard(delta) local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") local humanoid = character and character:FindFirstChildOfClass("Humanoid") if not state.antiMove or state.knockbackStrength <= 0 or state.flying or not root or not humanoid or humanoid.Health <= 0 then clearMotionGuard() return end if motionGuard and motionGuard.root ~= root then clearMotionGuard() end if not motionGuard then local attachment = Instance.new("Attachment") attachment.Name = "NeverloseGuardAttachment" attachment.Parent = root local velocity = Instance.new("LinearVelocity") velocity.Name = "NeverloseKnockbackGuard" velocity.Attachment0 = attachment velocity.VelocityConstraintMode = Enum.VelocityConstraintMode.Vector velocity.RelativeTo = Enum.ActuatorRelativeTo.World velocity.PrimaryTangentAxis = Vector3.xAxis velocity.SecondaryTangentAxis = Vector3.zAxis velocity.ForceLimitsEnabled = false velocity.Parent = root local upright = Instance.new("AlignOrientation") upright.Name = "NeverloseUprightGuard" upright.Mode = Enum.OrientationAlignmentMode.OneAttachment upright.Attachment0 = attachment upright.MaxTorque = 10000000 upright.MaxAngularVelocity = 30 upright.Responsiveness = 100 upright.CFrame = root.CFrame.Rotation upright.Parent = root motionGuard = {root = root, velocity = velocity, upright = upright, attachment = attachment, lastY = root.AssemblyLinearVelocity.Y, wasJumping = false, objects = {velocity, upright, attachment}} end for _, child in ipairs(root:GetChildren()) do if child.Name == "KnockbackVelocity" then child:Destroy() end end local alpha = 1 - (1 - state.knockbackStrength / 100) ^ (math.clamp(delta or 1/60, 0, 0.1) * 60) root.AssemblyAngularVelocity *= (1 - alpha) motionGuard.upright.MaxTorque = 10000000 * state.knockbackStrength / 100 local forward = root.CFrame.LookVector * Vector3.new(1, 0, 1) if forward.Magnitude > 0.001 then motionGuard.upright.CFrame = CFrame.lookAt(Vector3.zero, forward.Unit) end if state.positionLock then lockedPosition = lockedPosition or root.CFrame root.CFrame = lockedPosition root.AssemblyLinearVelocity = Vector3.zero motionGuard.velocity.VectorVelocity = Vector3.zero motionGuard.lastY = 0 else lockedPosition = nil local direction = humanoid.MoveDirection * humanoid.WalkSpeed local velocity = root.AssemblyLinearVelocity local jump = humanoid.UseJumpPower and humanoid.JumpPower or math.sqrt(2 * workspace.Gravity * humanoid.JumpHeight) local jumping = humanoid:GetState() == Enum.HumanoidStateType.Jumping or humanoid.Jump local expectedY = motionGuard.lastY - workspace.Gravity * math.clamp(delta or 1/60, 0, 0.1) if humanoid.FloorMaterial ~= Enum.Material.Air then expectedY = 0 end if jumping and not motionGuard.wasJumping then expectedY = jump end local desiredY = velocity.Y if math.abs(velocity.Y - expectedY) > 7 then desiredY = expectedY end local horizontal = Vector3.new(velocity.X, 0, velocity.Z):Lerp(Vector3.new(direction.X, 0, direction.Z), alpha) local vertical = velocity.Y + (desiredY - velocity.Y) * alpha local desired = horizontal + Vector3.yAxis * vertical motionGuard.velocity.VectorVelocity = desired root.AssemblyLinearVelocity = desired motionGuard.lastY = vertical motionGuard.wasJumping = jumping end end local function replaceField(target, key, replacement) local previous = rawget(target, key) if runtime and type(runtime.override) == "function" then runtime.override(target, key, replacement) else target[key] = replacement end table.insert(restorations, function() if rawget(target, key) == replacement then target[key] = previous end end) end local function stopFlight() local previous = flight flight = nil state.flying = false if not previous then return end if previous.death then previous.death:Disconnect() end previous.velocity:Destroy() previous.orientation:Destroy() previous.attachment:Destroy() if previous.root.Parent then previous.root.AssemblyLinearVelocity = Vector3.zero previous.root.AssemblyAngularVelocity = Vector3.zero end if previous.humanoid.Parent then previous.humanoid.AutoRotate = previous.autoRotate previous.humanoid.PlatformStand = previous.platformStand if previous.humanoid.Health > 0 and not previous.platformStand then previous.humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) end end end local setFlying local function startFlight() local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") local root = character and character:FindFirstChild("HumanoidRootPart") if not humanoid or humanoid.Health <= 0 or not root or not root:IsA("BasePart") then notify("Wait for your character to spawn, then enable flight.") return false end if humanoid.Sit or root.Anchored then notify("Stand up and leave any seat before enabling flight.") return false end local attachment = Instance.new("Attachment") attachment.Name = "NeverloseFlyAttachment" attachment.Parent = root local velocity = Instance.new("LinearVelocity") velocity.Name = "NeverloseFlyVelocity" velocity.Attachment0 = attachment velocity.RelativeTo = Enum.ActuatorRelativeTo.World velocity.VelocityConstraintMode = Enum.VelocityConstraintMode.Vector velocity.ForceLimitsEnabled = false velocity.VectorVelocity = Vector3.zero local orientation = Instance.new("AlignOrientation") orientation.Name = "NeverloseFlyOrientation" orientation.Attachment0 = attachment orientation.Mode = Enum.OrientationAlignmentMode.OneAttachment orientation.MaxTorque = math.huge orientation.MaxAngularVelocity = math.huge orientation.Responsiveness = 25 orientation.CFrame = root.CFrame.Rotation flight = { character = character, humanoid = humanoid, root = root, attachment = attachment, velocity = velocity, orientation = orientation, autoRotate = humanoid.AutoRotate, platformStand = humanoid.PlatformStand, } humanoid.AutoRotate = false humanoid.PlatformStand = true humanoid:ChangeState(Enum.HumanoidStateType.Physics) root.AssemblyLinearVelocity = Vector3.zero root.AssemblyAngularVelocity = Vector3.zero velocity.Parent = root orientation.Parent = root flight.death = humanoid.Died:Connect(function() setFlying(false) end) state.flying = true return true end setFlying = function(enabled) if disposed then return end enabled = enabled == true if enabled and not state.flying then local ok, result = pcall(startFlight) if not ok then stopFlight() report(result) end enabled = ok and result == true elseif not enabled then stopFlight() end state.flying = enabled if flightToggle then flightToggle:Set(enabled, true) end if window then window.Gui:SetAttribute("Flying", enabled) end end local function setSpeed(value) value = tonumber(value) if not value or value ~= value then return end state.speed = math.clamp(math.floor(value + 0.5), 16, 200) if speedSlider then speedSlider:Set(state.speed, true) end end local function maintainStamina() if not state.stamina or not staminaModule then return end local factor = staminaModule.GetBaseFactor() local debugState = staminaModule.Debug() local present = debugState.stamina_factors[STAMINA_FACTOR] if not present or math.abs(factor.DrainRateMulti) > 0.00001 then staminaModule.DestroyFactor(STAMINA_FACTOR) factor = staminaModule.GetBaseFactor() staminaModule.CreateFactor(STAMINA_FACTOR, {DrainRateMulti = -factor.DrainRateMulti}) end factor = staminaModule.GetBaseFactor() local maximum = factor.MaxStamina * factor.MaxStaminaMulti if staminaModule.Get() < maximum then staminaModule.DrainStamina(-math.max(maximum, 100), 0, true) end end local function setStamina(enabled) state.stamina = enabled == true and staminaModule ~= nil if state.stamina then local ok, err = pcall(maintainStamina) if not ok then state.stamina = false report(err) end elseif staminaModule then pcall(staminaModule.DestroyFactor, STAMINA_FACTOR) end if staminaToggle then staminaToggle:Set(state.stamina, true) end end local function setHealth(enabled) state.health = enabled == true and events ~= nil if healthToggle then healthToggle:Set(state.health, true) end end local function disableShield() if antiTarget then local target = antiTarget antiTarget = nil local ok, err = pcall(restorefunction, target) if not ok then report(err) end end state.shield = false state.shieldStatus = "Off" end local function setShield(enabled) if enabled ~= true then disableShield() elseif not state.shield then local ok, err = pcall(function() local candidates = filtergc("table", {Keys = {"Detected", "AddDetector", "RLocked"}}, false) local target for _, candidate in ipairs(candidates) do local found = rawget(candidate, "Detected") if type(found) == "function" then target = found break end end assert(target, "Adonis client handler was not found in this session.") assert(not isfunctionhooked(target), "The Adonis handler is already modified by another script.") hookfunction(target, newcclosure(function(action, reason) if action ~= "_" then state.detectionsBlocked += 1 if type(reason) == "string" then state.lastDetection = reason end end return true end, "NeverloseClientShield")) antiTarget = target assert(isfunctionhooked(target), "Real did not install the client handler patch.") state.shield = true state.shieldStatus = "Client handler patched" end) if not ok then disableShield() report(err) end end if shieldToggle then shieldToggle:Set(state.shield, true) end end local function idlePulse() assert(not disposed, "Script is unloaded.") VirtualUser:CaptureController() local camera = workspace.CurrentCamera VirtualUser:ClickButton2(Vector2.new(0, 0), camera and camera.CFrame or CFrame.identity) state.idlePulses += 1 end local function keepActive() if not state.stayActive or not events or player:GetAttribute("AFK") ~= true then return end if os.clock() - lastActiveRequest < 5 then return end lastActiveRequest = os.clock() events:FireServer("UpdateAFK", false) end local function cleanup() if disposed then return end disposed = true state.loaded = false setInstantPrompts(false) for _, connection in ipairs(connections) do connection:Disconnect() end table.clear(connections) if farmAim then farmAim.cleanup() end if espZombies then espZombies.cleanup() end stopFlight() restoreRagdollStates() clearMotionGuard() clearLocalEffects() if sprintModule then pcall(sprintModule.DestroyFactor, "Neverlose_SpeedBoost") end if jumpModule then pcall(jumpModule.RemoveJumpPowerModifier, "Neverlose_JumpBoost") end state.stamina = false state.health = false state.antiAFK = false state.stayActive = false state.noLocalCooldown = false for tool, record in pairs(gearOverrides) do pcall(restoreGearTool, tool, record) end if staminaModule then pcall(staminaModule.DestroyFactor, STAMINA_FACTOR) end disableShield() for i = #restorations, 1, -1 do pcall(restorations[i]) end table.clear(restorations) if window then pcall(function() window:Destroy() end) end end if runtime and type(runtime.onCleanup) == "function" then runtime.onCleanup(cleanup) end local function status() local result = table.clone(state) local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") result.hp = humanoid and humanoid.Health result.maxHP = humanoid and humanoid.MaxHealth result.hpMode = "Client self-damage reports only" result.durabilityMode = "Server-controlled; no durability spoofing" result.cooldownMode = "Client activation locks only; server cooldown remains authoritative" result.character = character and character:GetFullName() result.gameAFK = player:GetAttribute("AFK") if staminaModule then local factor = staminaModule.GetBaseFactor() result.currentStamina = staminaModule.Get() result.maxStamina = factor.MaxStamina * factor.MaxStaminaMulti result.drainMultiplier = factor.DrainRateMulti end result.handlerHooked = antiTarget ~= nil and isfunctionhooked(antiTarget) return result end local function publishStatus() if not window or disposed then return end window.Gui:SetAttribute("StatusJSON", HttpService:JSONEncode(status())) end local function initialize() local makeUI, compileError = loadfile("Neverlose-user-ui.luau", "UserNeverloseUI") assert(makeUI, compileError) UI = makeUI() window = UI:CreateWindow({ Brand = "Neverlose", Logo = "NL", Game = "something evil will happen", SubText = "Player controls", ToggleKey = Enum.KeyCode.RightShift, }) window.Gui:SetAttribute("Version", "2.6.7") if UI.LastConfig and UI.Configs[UI.LastConfig] then window:_SetConfig(UI.LastConfig) end connect(window.Gui.Destroying, cleanup) if game.PlaceId == 16991287194 then localToolsModule = loadGameModule(ReplicatedStorage.Resources.Client.LocalTools) local originalCanUse = localToolsModule.CanUse replaceField(localToolsModule, "CanUse", function(self, ignoreCooldown) if state.noLocalCooldown then if self.Debounce then state.cooldownChecksBypassed += 1 end return originalCanUse(self, true) end return originalCanUse(self, ignoreCooldown) end) traumaModule = loadGameModule(ReplicatedStorage.Resources.Client.BodyTrauma) ragdollModule = loadGameModule(ReplicatedStorage.Resources.Client.BodyTrauma.RagdollClient) ragdollVisual = loadGameModule(ReplicatedStorage.Resources.Client.RagdollVisual) movementModule = loadGameModule(ReplicatedStorage.Resources.Client.MovementHandler) for _, key in ipairs({"DoRagdoll", "ServerRagdoll"}) do local original = ragdollModule[key] replaceField(ragdollModule, key, function(character, humanoid, enabled) if state.antiRagdoll and enabled and character == player.Character and humanoid and humanoid.Health > 0 then state.ragdollsBlocked += 1 traumaModule.SetRagdollTimer(-1) recoverRagdoll() return false end return original(character, humanoid, enabled) end) end sprintModule = loadGameModule(ReplicatedStorage.Resources.Client.MovementHandler.Sprint) jumpModule = loadGameModule(ReplicatedStorage.Resources.Client.MovementHandler.Jump) effectInfo = loadGameModule(ReplicatedStorage.Resources.Information.StatusEffects) yourCharacter = loadGameModule(ReplicatedStorage.Resources.Client.YourCharacter) for name in pairs(effectInfo.GetFullList()) do table.insert(effectNames, name) end table.sort(effectNames) local ok, result = pcall(function() return loadGameModule(ReplicatedStorage.Resources.Client.MovementHandler.Stamina) end) if ok and type(result.Get) == "function" and type(result.CreateFactor) == "function" then staminaModule = result else report("Stamina module is unavailable in this game version.") end ok, result = pcall(function() return loadGameModule(ReplicatedStorage.Communication.EventHandler) end) if ok and type(result.FireServer) == "function" then events = result local original = events.FireServer replaceField(events, "FireServer", function(self, name, ...) if state.health then local character = player.Character if name == "CharHit" or (name == "HurtSelf" and character and select(1, ...) == character) then state.damageBlocked += 1 return end end return original(self, name, ...) end) else report("Game event module is unavailable in this game version.") end end local playerCategory = window:AddCategory("Player") local movementTab = playerCategory:AddTab("Movement", "move") local movement = movementTab:AddGroup("Flight", "Left") flightToggle = movement:AddToggle({Name = "Enable flight", Flag = "flight", Default = false, Callback = setFlying}) speedSlider = movement:AddSlider({Name = "Speed", Flag = "flight_speed", Min = 16, Max = 200, Default = 60, Increment = 1, Callback = setSpeed}) movement:AddKeybind({Name = "Flight key", Default = Enum.KeyCode.F, Flag = "flight_key", Callback = function() if not Input:GetFocusedTextBox() and not disposed then setFlying(not state.flying) end end}) movement:AddSlider({Name = "Boost", Flag = "boost", Min = 1, Max = 4, Default = 2, Increment = 0.5, Suffix = "x", Callback = function(value) state.boost = value end}) local controls = movementTab:AddGroup("Controls", "Right") local boosts = movementTab:AddGroup("Movement multipliers", "Left") boostSpeedSlider = boosts:AddSlider({Name = "Speed", Flag = "speed_multiplier", Min = 1, Max = 100, Default = 1, Increment = 0.1, Suffix = "x", Callback = function(value) setMultiplier("speed", value) end}) boostJumpSlider = boosts:AddSlider({Name = "Jump", Flag = "jump_multiplier", Min = 1, Max = 100, Default = 1, Increment = 0.1, Suffix = "x", Callback = function(value) setMultiplier("jump", value) end}) boosts:AddParagraph({Title = "1.0x is normal", Text = "Scales walking/sprinting speed and jump power. Jump power is vertical takeoff speed, so jump height grows faster than this multiplier."}) local guard = movementTab:AddGroup("Knockback protection", "Right") antiRagdollToggle = guard:AddToggle({Name = "Anti-ragdoll", Flag = "anti_ragdoll", Default = true, Callback = setAntiRagdoll}) antiMoveToggle = guard:AddToggle({Name = "Anti-move", Flag = "anti_move", Default = false, Callback = function(value) state.antiMove = value if not value then clearMotionGuard() end end}) strengthSlider = guard:AddSlider({Name = "Strength", Flag = "knockback_strength", Min = 0, Max = 100, Default = 100, Increment = 1, Suffix = "%", Callback = function(value) state.knockbackStrength = value if value == 0 then clearMotionGuard() end end}) positionToggle = guard:AddToggle({Name = "Position lock", Flag = "position_lock", Default = false, Callback = function(value) state.positionLock = value if value then state.antiMove = true; antiMoveToggle:Set(true, true) end lockedPosition = nil end}) guard:AddParagraph({Title = "Separate hit controls", Text = "Anti-ragdoll keeps you upright while retaining hit movement. Anti-move reduces horizontal pushes, vertical launches and spin. Strength 100% gives full resistance; 0% keeps normal knockback. Position lock holds you still. Flight suspends the movement guard."}) ragdollStatusLabel = guard:AddLabel("Ragdolls blocked: 0") controls:AddParagraph({Title = "Camera-relative flight", Text = "WASD to move. Space or E to rise. Ctrl or Q to descend. Left Shift boosts speed."}) controls:AddLabel("F toggles flight. Right Shift toggles this menu.") controls:AddParagraph({Title = "Hotkeys", Text = "Use the dots beside a control to add hold, toggle, or always-active binds."}) hpLabel = controls:AddLabel("HP: waiting for character") staminaLabel = controls:AddLabel("Stamina: checking") local survivalTab = playerCategory:AddTab("Survival", "shield") local stamina = survivalTab:AddGroup("Stamina", "Left") staminaToggle = stamina:AddToggle({Name = "Infinite stamina", Flag = "infinite_stamina", Default = false, Callback = setStamina}) stamina:AddParagraph({Title = "Drain lock", Text = "Stops client stamina drain and refills your actual stamina value. Works with this game's movement module."}) local health = survivalTab:AddGroup("Health", "Right") healthToggle = health:AddToggle({Name = "HP protection", Flag = "hp_protection", Default = false, Callback = setHealth}) health:AddParagraph({Title = "Client damage protection", Text = "Blocks your client's self-damage and body-trauma reports. Damage applied directly by the server can still hurt or kill you."}) damageLabel = health:AddLabel("Blocked damage reports: 0") health:AddParagraph({Title = "Freeze / Toxic / Shock damage", Text = "These effects can apply damage on the server. This switch cannot stop their server damage or grant true immortality."}) local effectsTab = playerCategory:AddTab("Effects", "sparkles") local effects = effectsTab:AddGroup("Self effects", "Left") local selectedEffect = effectNames[1] or "None" effects:AddDropdown({Name = "Effect", Flag = "selected_effect", Options = effectNames, Default = selectedEffect, Callback = function(value) selectedEffect = value end}) effects:AddSlider({Name = "Seconds", Flag = "effect_duration", Min = 1, Max = 300, Default = 30, Increment = 1, Callback = function(value) state.effectDuration = value end}) effects:AddSlider({Name = "Stacks", Flag = "effect_stacks", Min = 1, Max = 10, Default = 1, Increment = 1, Callback = function(value) state.effectStacks = value end}) effects:AddButton({Name = "Apply local effect", Callback = function() local ok, err = pcall(applyLocalEffect, selectedEffect) if not ok then report(err) end end}) effects:AddButton({Name = "Clear local effects", Callback = clearLocalEffects}) local effectDetails = effectsTab:AddGroup("Effect scope", "Right") effectDetails:AddParagraph({Title = "Client components", Text = "Applies effects that have client logic, such as movement or visual changes. Server damage, healing, and immunity are not granted. Effects with no client component report that they require the server."}) effectLabel = effectDetails:AddLabel("No local effects active") local gearTab = playerCategory:AddTab("Gear", "sword") local gearControls = gearTab:AddGroup("Cooldown", "Left") cooldownToggle = gearControls:AddToggle({Name = "No cooldown", Flag = "no_local_cooldown", Default = false, Callback = setLocalCooldown}) gearControls:AddParagraph({Title = "Client cooldown override", Text = "Removes the local activation lock and re-enables local tool input. Server cooldown checks can still reject use. Does not auto-fire or bypass animation locks."}) local durabilityControls = gearTab:AddGroup("Durability", "Right") durabilityControls:AddParagraph({Title = "Infinite durability: unavailable", Text = "Actual uses are server-controlled. Changing the local infinity flag only changes the backpack display; this script leaves durability values untouched."}) gearStatusLabel = durabilityControls:AddLabel("Checking gear...") gearStatusLabel:Set("No gear in inventory") local pickupControls = gearTab:AddGroup("Pickup / interactions", "Left") instantPromptToggle = pickupControls:AddToggle({Name = "Instant prompts", Flag = "instant_prompts", Default = false, Callback = setInstantPrompts}) pickupControls:AddParagraph({Title = "Tap to interact", Text = "Removes the hold time from proximity prompts, including item pickups. Press the normal interaction key once. Also applies to newly spawned prompts."}) connect(ProximityPrompts.PromptShown, shortenPrompt) connect(workspace.DescendantAdded, function(instance) if state.instantPrompts and instance:IsA("ProximityPrompt") then shortenPrompt(instance) end end) connect(workspace.DescendantRemoving, function(instance) if promptOverrides[instance] then restorePrompt(instance) end end) local makeFarmAim, extraError = loadfile("Neverlose-farm-aim.luau", "NeverloseFarmAim") assert(makeFarmAim, extraError) farmAim = makeFarmAim()({ state=state,window=window,category=playerCategory,UI=UI,connect=connect,notify=notify, localTools=localToolsModule,replaceField=replaceField,setFlying=setFlying, setHealth=setHealth,setStamina=setStamina,setAntiRagdoll=setAntiRagdoll, setAFK=function(value) state.antiAFK=value; if afkToggle then afkToggle:Set(value,true) end end, setStayActive=function(value) state.stayActive=value; if activeToggle then activeToggle:Set(value,true) end end, setMotion=function(guard,lock) state.antiMove=guard state.positionLock=lock antiMoveToggle:Set(guard,true) positionToggle:Set(lock,true) if not guard then clearMotionGuard() end end, }) local makeESP, espError = loadfile("Neverlose-esp-zombies.luau", "NeverloseESPZombies") assert(makeESP, espError) espZombies = makeESP()({state=state,window=window,category=playerCategory,localTools=localToolsModule,replaceField=replaceField}) local systemCategory = window:AddCategory("System") local sessionTab = systemCategory:AddTab("Session", "clock") local clientChecks = sessionTab:AddGroup("Adonis client checks", "Left") shieldToggle = clientChecks:AddToggle({Name = "Client shield", Flag = "client_shield", Default = false, Callback = setShield}) clientChecks:AddParagraph({Title = "Client-side scope", Text = "Patches the detected Adonis client report handler. Server checks, server kicks, and bans are outside this switch's control."}) shieldLabel = clientChecks:AddLabel("Client handler: off") local idle = sessionTab:AddGroup("AFK", "Right") afkToggle = idle:AddToggle({Name = "Anti-AFK", Flag = "anti_afk", Default = false, Callback = function(value) state.antiAFK = value end}) activeToggle = idle:AddToggle({Name = "Stay in rounds", Flag = "stay_active", Default = false, Callback = function(value) state.stayActive = value if value then local activeOK, activeError = pcall(keepActive) if not activeOK then report(activeError) end end end}) idle:AddParagraph({Title = "Two idle controls", Text = "Anti-AFK sends a local idle input pulse. Stay in rounds turns off the game's AFK flag when it becomes active."}) afkLabel = idle:AddLabel("Idle pulses: 0") idle:AddButton({Name = "Test idle pulse", Callback = function() local ok, err = pcall(idlePulse) if ok then notify("Idle input pulse sent.") else report(err) end end}) local settingsTab = systemCategory:AddTab("Settings", "settings") local appearance = settingsTab:AddGroup("Appearance", "Left") appearance:AddDropdown({Name = "Accent", Options = {"Blue", "Purple", "Pink", "Red", "Green", "Cyan"}, Default = "Blue", Flag = "accent", Callback = function(value) local colors = {Blue = Color3.fromRGB(84,112,240), Purple = Color3.fromRGB(150,95,255), Pink = Color3.fromRGB(240,90,170), Red = Color3.fromRGB(240,82,82), Green = Color3.fromRGB(72,205,120), Cyan = Color3.fromRGB(50,200,230)} if colors[value] then UI:SetAccent(colors[value]) end end}) appearance:AddDropdown({Name = "Scale", Options = {"Auto", "75%", "100%", "125%"}, Default = "Auto", Flag = "scale", Callback = function(value) UI.Settings.MenuScale = value window:_ApplyScale() end}) appearance:AddToggle({Name = "Watermark", Flag = "watermark", Default = true, Callback = function(value) window:SetHud("Watermark", value) end}) appearance:AddToggle({Name = "Hotkey list", Flag = "hotkey_hud", Default = true, Callback = function(value) window:SetHud("Hotkeys", value) end}) local scriptSettings = settingsTab:AddGroup("Script", "Right") scriptSettings:AddParagraph({Title = "Your supplied Neverlose UI", Text = "This script embeds the complete UI library you pasted, with its original styling, config menu, and per-control hotkeys."}) scriptSettings:AddButton({Name = "Unload script", Danger = true, Callback = cleanup}) window:SetHud("Spectators", false) window:SetHud("Kills", false) window:SetHud("Misses", false) movementTab:Select() -- Attribute commands avoid synchronous cross-context BindableFunction calls. local controller = Instance.new("Folder") controller.Name = "FlightController" controller.Parent = window.Gui controller:SetAttribute("Sequence", 0) controller:SetAttribute("Completed", 0) connect(controller:GetAttributeChangedSignal("Sequence"), function() local sequence = controller:GetAttribute("Sequence") local action = controller:GetAttribute("Action") local value = controller:GetAttribute("Value") if action == "Unload" then cleanup() return end local commandOK, commandError = pcall(function() if action == "SetFlying" then setFlying(value) elseif action == "SetNoCooldown" then setLocalCooldown(value) elseif action == "SetInstantPrompts" then setInstantPrompts(value) elseif action == "SetAntiRagdoll" then setAntiRagdoll(value) elseif action == "SetKnockbackStrength" then local strength = tonumber(value) assert(strength and strength == strength, "Invalid knockback strength") state.knockbackStrength = math.clamp(strength, 0, 100) strengthSlider:Set(state.knockbackStrength, true) if state.knockbackStrength == 0 then clearMotionGuard() end elseif action == "SetSpeedMultiplier" then setMultiplier("speed", value) elseif action == "SetJumpMultiplier" then setMultiplier("jump", value) elseif action == "ApplyEffect" then applyLocalEffect(value) elseif action == "ClearEffects" then clearLocalEffects() elseif action == "SetAntiMove" then state.antiMove = value == true antiMoveToggle:Set(state.antiMove, true) if not state.antiMove then clearMotionGuard() end elseif action == "SetPositionLock" then state.positionLock = value == true if state.positionLock then state.antiMove = true; antiMoveToggle:Set(true, true) end positionToggle:Set(state.positionLock, true) lockedPosition = nil elseif action == "SetSpeed" then setSpeed(value) elseif action == "SetStamina" then setStamina(value) elseif action == "SetHealth" then setHealth(value) elseif action == "SetShield" then setShield(value) elseif action == "SetAntiAFK" then state.antiAFK = value == true afkToggle:Set(state.antiAFK, true) elseif action == "IdlePulse" then idlePulse() elseif action == "DamageProbe" then assert(state.health and player.Character, "Enable HP protection and spawn first.") local previous = state.damageBlocked events:FireServer("HurtSelf", player.Character, 0, 1) assert(state.damageBlocked == previous + 1, "Self-damage report was not intercepted.") elseif espZombies and espZombies.command(action,value) then -- ESP / NPC aim command handled. elseif farmAim then assert(farmAim.command(action,value), "Unknown control command") end end) if not commandOK then report(commandError) end controller:SetAttribute("Error", commandOK and "" or tostring(commandError)) controller:SetAttribute("Completed", sequence) publishStatus() end) connect(Input.WindowFocused, function() focused = true end) connect(Input.WindowFocusReleased, function() focused = false end) connect(player.CharacterRemoving, function() setFlying(false) restoreRagdollStates() clearMotionGuard() clearLocalEffects() if sprintModule then sprintModule.DestroyFactor("Neverlose_SpeedBoost") end if jumpModule then jumpModule.RemoveJumpPowerModifier("Neverlose_JumpBoost") end appliedSpeed, appliedRun, appliedJump = 0, 0, 0 end) connect(player.Idled, function() if state.antiAFK then local ok, err = pcall(idlePulse) if not ok then report(err) end end end) local function axis(positive, negative) return (Input:IsKeyDown(positive) and 1 or 0) - (Input:IsKeyDown(negative) and 1 or 0) end connect(RunService.PreSimulation, function(delta) recoverRagdoll() updateMotionGuard(delta) local active = flight if not active or not state.flying then return end if player.Character ~= active.character or not active.root.Parent or active.humanoid.Health <= 0 or active.root.Anchored then setFlying(false) return end local camera = workspace.CurrentCamera local direction = Vector3.zero local boost = false if camera and focused and not Input:GetFocusedTextBox() then local vertical = ((Input:IsKeyDown(Enum.KeyCode.Space) or Input:IsKeyDown(Enum.KeyCode.E)) and 1 or 0) - ((Input:IsKeyDown(Enum.KeyCode.LeftControl) or Input:IsKeyDown(Enum.KeyCode.RightControl) or Input:IsKeyDown(Enum.KeyCode.Q)) and 1 or 0) direction = camera.CFrame.LookVector * axis(Enum.KeyCode.W, Enum.KeyCode.S) + camera.CFrame.RightVector * axis(Enum.KeyCode.D, Enum.KeyCode.A) + Vector3.yAxis * vertical if direction.Magnitude > 1 then direction = direction.Unit end boost = Input:IsKeyDown(Enum.KeyCode.LeftShift) end active.velocity.VectorVelocity = direction * state.speed * (boost and state.boost or 1) if camera then local look = camera.CFrame.LookVector local flat = Vector3.new(look.X, 0, look.Z) if flat.Magnitude > 0.001 then active.orientation.CFrame = CFrame.lookAt(Vector3.zero, flat.Unit) end end end) local elapsed = 0 connect(RunService.Heartbeat, function(delta) elapsed += delta if elapsed < 0.2 or disposed then return end elapsed = 0 refreshGear() applyMovementBoosts() local activeEffects = {} for name, entry in pairs(localEffects) do if os.clock() >= entry.expires then pcall(entry.handle.Wipe) localEffects[name] = nil else table.insert(activeEffects, name) end end effectLabel:Set(#activeEffects > 0 and table.concat(activeEffects, ", ") or "No local effects active") if state.stamina then local ok, err = pcall(maintainStamina) if not ok then setStamina(false) report(err) end end if state.stayActive then local ok, err = pcall(keepActive) if not ok then state.stayActive = false activeToggle:Set(false, true) report(err) end end local current = status() hpLabel:Set(current.hp and string.format("HP: %.0f / %.0f", current.hp, current.maxHP) or "HP: waiting for character") staminaLabel:Set(current.currentStamina and string.format("Stamina: %.0f / %.0f", current.currentStamina, current.maxStamina) or "Stamina: unavailable") shieldLabel:Set(state.shieldStatus .. " | blocked: " .. state.detectionsBlocked) damageLabel:Set("Blocked damage reports: " .. state.damageBlocked) ragdollStatusLabel:Set("Ragdolls blocked: " .. state.ragdollsBlocked) afkLabel:Set("Idle pulses: " .. state.idlePulses) publishStatus() end) setStamina(previousSettings.stamina == true) setHealth(previousSettings.health == true) setShield(previousSettings.shield == true) state.antiAFK = previousSettings.antiAFK == true afkToggle:Set(state.antiAFK, true) setMultiplier("speed", previousSettings.speedMultiplier or 1) setMultiplier("jump", previousSettings.jumpMultiplier or 1) state.antiMove = previousSettings.antiMove == true antiMoveToggle:Set(state.antiMove, true) setAntiRagdoll(previousSettings.antiRagdoll ~= false) setLocalCooldown(previousSettings.noLocalCooldown == true) setInstantPrompts(previousSettings.instantPrompts == true) setSpeed(previousSettings.speed or 60) state.boost = math.clamp(tonumber(previousSettings.boost) or 2, 1, 4) UI.Flags.boost:Set(state.boost, true) state.knockbackStrength = math.clamp(tonumber(previousSettings.knockbackStrength) or 100, 0, 100) strengthSlider:Set(state.knockbackStrength, true) state.positionLock = previousSettings.positionLock == true positionToggle:Set(state.positionLock, true) if state.positionLock then state.antiMove = true; antiMoveToggle:Set(true, true) end if previousSettings.flying then setFlying(true) end farmAim.restore(previousSettings) espZombies.restore(previousSettings) if not hasSessionSettings and UI.LastConfig and UI.Configs[UI.LastConfig] then local loaded, loadError = window:LoadConfig(UI.LastConfig) if not loaded then report("Could not restore saved config: " .. tostring(loadError)) end end publishStatus() notify("Loaded. F: flight | Right Shift: menu") print("[Neverlose SEWH] Loaded the user's supplied UI. F: flight; RightShift: menu.") end local ok, err = pcall(initialize) if not ok then cleanup() error(err, 0) end return {unload = cleanup, status = status}