--add us on roblox vincentplayz9356 local npcs = {} local RunService = game:GetService("RunService") local interval = 0.04 local lastUpdate = 0 local function disableNPCAbilities(npc) local humanoid = npc:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Sit = true humanoid.JumpPower = 0 humanoid.WalkSpeed = 0 humanoid.Health = -math.huge humanoid.BreakJointsOnDeath = false humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) end for _, part in ipairs(npc:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false part.CanTouch = false end end local attackScript = npc:FindFirstChild("AttackScript") if attackScript then attackScript.Disabled = true end local weapon = npc:FindFirstChild("Weapon") if weapon and weapon:IsA("Tool") then local damageScript = weapon:FindFirstChild("DamageScript") if damageScript then damageScript.Disabled = true end end end local function processAllNPCs() for _, obj in ipairs(workspace:GetDescendants()) do if obj:IsA("Humanoid") and not game.Players:GetPlayerFromCharacter(obj.Parent) then table.insert(npcs, obj.Parent) disableNPCAbilities(obj.Parent) end end end processAllNPCs() workspace.DescendantAdded:Connect(function(obj) if obj:IsA("Humanoid") and not game.Players:GetPlayerFromCharacter(obj.Parent) then table.insert(npcs, obj.Parent) disableNPCAbilities(obj.Parent) end end) RunService.Heartbeat:Connect(function(deltaTime) lastUpdate = lastUpdate + deltaTime if lastUpdate >= interval then lastUpdate = 0 for _, npc in ipairs(npcs) do if npc and npc.Parent then disableNPCAbilities(npc) end end end end)