Version / Update: v1.0.0
- Download / Script Link
- local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")
local LocalPlayer = Players.LocalPlayer
local WeaponHit = ReplicatedStorage:WaitForChild("WeaponsSystem"):WaitForChild("Network"):WaitForChild("WeaponHit")
getgenv().TargetPlayers = true
getgenv().TargetNPCs = true
local function hitTarget(targetChar, tool)
local humanoid = targetChar:FindFirstChild("Humanoid")
local head = targetChar:FindFirstChild("Head")
local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if humanoid and head and myRoot and humanoid.Health > 0 then
local args = {
tool,
{
p = head.Position,
pid = 1,
part = head,
d = (myRoot.Position - head.Position).Magnitude,
maxDist = 1000,
h = humanoid,
m = Enum.Material.Plastic,
n = Vector3.new(0, 1, 0),
t = tick(),
sid = 6
}
}
WeaponHit:FireServer(unpack(args))
end
end
task.spawn(function()
while true do
local tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool then
if getgenv().TargetPlayers then
for _, p in ipairs(Players:GetPlayers()) do
if p ~= LocalPlayer and p.Character then
hitTarget(p.Character, tool)
end
end
end
if getgenv().TargetNPCs then
local npcFolder = Workspace:FindFirstChild("NPCs") and Workspace.NPCs:FindFirstChild("NPC")
if npcFolder then
for _, npc in ipairs(npcFolder:GetChildren()) do
hitTarget(npc, tool)
end
end
end
end
task.wait(0.01)
end
end)[ View More ]
Shitty Kill All I Made In 2 Mins