RotD kill all
Key Required

RotD kill all

Rise of the Deadneutralneutral 6.4K views 50 executesUpdated Jan 13, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•54 lines (2481 chars)
local player = game:GetService("Players").LocalPlayer
game:GetService("RunService").RenderStepped:Connect(function()
    local character = player.Character
    for _,v in workspace.Entity:GetChildren() do
        if (character.HumanoidRootPart.CFrame.Position - v.Head.CFrame.Position).Magnitude < 50 and character:FindFirstChild("p250") then
            local args = {
                [1] = "#1",
                [2] = character.p250,
                [3] = {
                    ["ShotPoint"] = character.HumanoidRootPart.CFrame.Position,
                    ["Direction"] = Vector3.new(-0.008111195638775826, -0.058035194873809814, 0.9982815980911255),
                    ["AmmoData"] = {
                        ["MaxAmmo"] = 0,
                        ["Ammo"] = 0
                    },
                    ["TracerColor"] = Color3.new(1, 1, 1),
                    ["ShotId"] = 3,
                    ["HitInfoList"] = {
                        [1] = {
                            ["Normal"] = Vector3.new(0.20057007670402527, 0.038305096328258514, -0.9789303541183472),
                            ["Part"] = v.Head,
                            ["Index"] = 0,
                            ["Position"] = v.Head.CFrame.Position
                        },
                        [2] = {
                            ["Normal"] = Vector3.new(0.5810704827308655, 0.7930880784988403, -0.18266992270946503),
                            ["Part"] = v.Head,
                            ["Index"] = 0,
                            ["Position"] = v.Head.CFrame.Position
                        }
                    },
                    ["ShotOrigin"] = character.p250.Handle.BulletOrigin,
                    ["Victims"] = {
                        [1] = {
                            ["Humanoid"] = v.Zombie,
                            ["Object"] = v.Head,
                            ["Index"] = 0
                        },
                        [2] = {
                            ["Humanoid"] = v.Zombie,
                            ["Object"] = v.Head,
                            ["Index"] = 0
                        }
                    },
                    ["TargetPoints"] = {
                        [1] = v.Head.CFrame.Position
                    }
                }
            }

            game:GetService("ReplicatedStorage"):WaitForChild("Library"):WaitForChild("RemotesManager"):WaitForChild("PrimaryFire"):FireServer(unpack(args))
        end
    end
end)

Features & Information

kill all enemies in a 50m radius of you, whenever you hold out the starter pistol

Community Comments (7)

tiamtiamJan 13, 2025(edited)

W works well bug laggy

ReplicatedFirstReplicatedFirstJan 13, 2025(edited)

RenderStepped moment

neutralneutralJan 14, 2025(edited)

real

GoonJoeGoonJoeJan 16, 2025(edited)

is it possible to change p250 to something else

neutralneutralJan 18, 2025(edited)

yea

1111_11111111_1111Jan 20, 2025(edited)

how do i change the p250 to a mp5?

GoonJoeGoonJoeJan 20, 2025(edited)

@neutral perhaps you could make it a GUI where we can change the weapon to anything we want?

More Scripts for Rise of the Dead