LOADING

Lol the z At the end of the description

48 VIEWS
7/16/2026
Universal
Lol the z At the end of the description
AUTHOR
avatarNicolascripts
USER RATING
100%APPROVAL

Description

Kill bosses and playerz

SUPPORTED GAMES

Universal Script

Works on most games

Script Code
1-- 1. Kill all players in the server
2for _, player in pairs(game.Players:GetPlayers()) do
3    if player.Character and player.Character:FindFirstChild("Humanoid") then
4        player.Character.Humanoid.Health = 0
5    end
6end
7
8-- 2. Find and kill all Bosses/NPCs in the Workspace
9for _, object in pairs(workspace:GetDescendants()) do
10    -- Check if the object has a Humanoid component
11    if object:IsA("Humanoid") then
12        -- Ensure it is not a player's character that was already processe
13        local character = object.Parent
14        if character and not game.Players:GetPlayerFromCharacter(character) then
15            object.Health = 0
16        end
17    end
18end

ScriptHUB

The best site to search, share, and find the best scripts with maximum security and performance.

© 2026 ScriptHub. All rights reserved.
ScriptHUB