Sword Factory | Insta-kill Mobs

Script Credit :- Innocence#4346
Features

Insta-Kill Mobs

Script
--BROUGHT TO YOU BY RobloxScripter.com!--

local Player = game:GetService("Players").LocalPlayer local Connections = {} local function MakeConnection(Mob) if not Connections[Mob] and Mob:FindFirstChildOfClass("Humanoid") then local z = game.Players:GetPlayers() for i,v in pairs(z) do if Mob == v.Character then return end end Connections[Mob] = Mob.Humanoid:GetPropertyChangedSignal("Health"):Connect(function() for i = 1, 20 do Mob.Humanoid.Health = 0 end end) end end for i,v in pairs(workspace:GetDescendants()) do local Human = v:FindFirstChild("Humanoid") if Human then MakeConnection(v) end end workspace.DescendantAdded:Connect(function(Child) local Human = Child:FindFirstChild("Humanoid") or Child:WaitForChild("Humanoid", 10) if Human then MakeConnection(Child) end end)