[🌩️Update 0.5] Prime Piece
4.0k Views
15 Executions

kill all

Prime Piece
neutral
neutral
Verified Badge
Verified User
100 followers
2 years ago
Please login to perform these actions:

kill all is a Prime Piece script for Roblox, uploaded to ScriptBlox on Apr 14, 2025.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

togglable kill all enemies script toggled with G

View Raw
local player = game:GetService("Players").LocalPlayer
local userInputService = game:GetService("UserInputService")
local toggle = false
userInputService.InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.G then
        toggle = not toggle
    end
end)
game:GetService("RunService").RenderStepped:Connect(function()
    if toggle then
        local character = player.Character
        local enemies = {}
        for _,v in workspace.EnemyNpc:GetDescendants() do
            if v.ClassName == "Model" and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v:FindFirstChild("Humanoid").Health > 0 then
                table.insert(enemies,v)
            end
        end
        game:GetService("ReplicatedStorage").Remotes.Input:FireServer({["Module"] = "Melee", ["Character"] = character, ["Input"] = "M1", ["Enemies"] = enemies, ["M1String"] = 2, ["Damage"] = {["Value"] = 1000000, ["ScaleType"] = "Strength", ["Scale"] = 100}})
    end
end)


Comments

2
Log in to join the conversation. Login
sudontuck69's profile picture
sudontuck692 years ago

w script

1
saberx's profile picture
saberx2 years ago

Can u make on for second piece if possible

1