Sitnpcs v2 (My Legacy Script)
Key RequiredUniversal

Sitnpcs v2 (My Legacy Script)

Universal Scriptvincent009vincent009 7.3K views 196 executesUpdated Feb 24, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•65 lines (1888 chars)
-- 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.BreakJointsOnDeath = false
        humanoid.Health = -math.huge
        humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
    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

    for _, part in ipairs(npc:GetDescendants()) do
        if part:IsA("BasePart") then
            part.CanTouch = false
        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)

Features & Information

Make npcs sit even they can jump! If the script doesn't work, it means the name of the unanchored part or the name of the NPCs has changed. New update! v0.1 NPC Disabler Update This script disables NPC abilities in Roblox, ensuring they stay alive but have 0 HP. Features: ✔ Disables NPC movement (no walking, no jumping). ✔ Sets NPC health to 0 but keeps them "alive". ❔ Prevents NPCs from attacking (disables weapons & attack scripts). ✔ Prevents NPCs from falling apart (BreakJointsOnDeath = false). ✔ Stops Killbrick NPCs from triggering touch events (CanTouch = false). How It Works: Automatically finds NPCs and disables their abilities. Continuously checks for new NPCs and applies the same effects if you're near to them. Uses RunService.Heartbeat to update NPCs at regular intervals. Report Any Bugs: If you notice: ❌ NPCs disappearing unexpectedly. Enjoy the script!
#Sitnpcs#ragdollnpcs#stunnpcs#freezenpcs#universal script

Community Comments (1)

rollrollFeb 24, 2025(edited)

w

More Scripts for Universal Scripts