Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ⚡ NGF ULTRA MEGA KILL SCRIPT - FULL VERSION ⚡
- -- SERVICES
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local stepped = RunService.Stepped
- -- SAFE HOOK WRAPPER
- local function safeHook(func, hookFunc)
- local ok, old = pcall(function() return hookfunction(func, hookFunc) end)
- if ok then return old end
- return nil
- end
- -- INSTANT KILL + HEAL BLOCK
- local function instaKill(humanoid)
- if humanoid and humanoid.Health > 0 then
- humanoid.Health = 0
- local mt = getrawmetatable(humanoid)
- if mt and not mt.__newindexHooked then
- local oldNewIndex = mt.__newindex
- setreadonly(mt, false)
- mt.__newindex = function(self, key, value)
- if self == humanoid and key == "Health" and value > 0 then return end
- return oldNewIndex(self, key, value)
- end
- mt.__newindexHooked = true
- setreadonly(mt, true)
- end
- end
- end
- -- MASSIVE HOOKS TO REMOVE DELAYS
- local waitFuncs = {wait, task.wait, delay, spawn, task.delay}
- for _, func in pairs(waitFuncs) do
- for _ = 1, 200 do
- if func == wait or func == task.wait then
- safeHook(func, function() return stepped:Wait() end)
- else
- safeHook(func, function(_, f) task.spawn(f) end)
- end
- end
- end
- -- BOOST CLAW SPEED
- local bodyMoverClasses = {"BodyVelocity", "BodyForce", "BodyAngularVelocity"}
- local mt = getrawmetatable(Instance.new("Part"))
- setreadonly(mt, false)
- local oldNewIndex = mt.__newindex
- mt.__newindex = function(self, key, value)
- if table.find(bodyMoverClasses, self.ClassName) then
- if key == "Velocity" or key == "Force" or key == "AngularVelocity" then
- if typeof(value) == "Vector3" then
- value = value * 9000
- end
- end
- end
- return oldNewIndex(self, key, value)
- end
- setreadonly(mt, true)
- -- HOOK DAMAGE, STATE, SIT, etc.
- local function hookHumanoidTakeDamage(humanoid)
- if not humanoid then return end
- for i = 1, 300 do
- safeHook(humanoid.TakeDamage, function(self, damage)
- instaKill(self)
- return math.huge * i
- end)
- end
- end
- local function hookHumanoidOtherMethods(humanoid)
- if not humanoid then return end
- for i = 1, 500 do
- safeHook(humanoid.ChangeState, function(self, state)
- instaKill(self)
- return true
- end)
- safeHook(humanoid.Sit, function()
- instaKill(humanoid)
- return false
- end)
- safeHook(humanoid.SetStateEnabled, function() return false end)
- end
- end
- local function hookBreakJoints(char)
- if not char then return end
- for i = 1, 200 do
- safeHook(char.BreakJoints, function(self)
- local h = self:FindFirstChildOfClass("Humanoid")
- if h then instaKill(h) end
- end)
- end
- end
- -- HOOK REMOTE EVENTS & FUNCTIONS
- local function hookRemoteEvent(remoteEvent)
- if not remoteEvent then return end
- for i = 1, 500 do
- safeHook(remoteEvent.FireServer, function(self, ...)
- local args = {...}
- for _, v in pairs(args) do
- local s = tostring(v):lower()
- if s:find("heal") or s:find("revive") then
- return
- elseif s:find("kill") or s:find("damage") then
- return math.huge * i
- end
- end
- end)
- end
- end
- local function hookRemoteFunction(remoteFunction)
- if not remoteFunction then return end
- for i = 1, 500 do
- safeHook(remoteFunction.InvokeServer, function(self, ...)
- local args = {...}
- for _, v in pairs(args) do
- local s = tostring(v):lower()
- if s:find("heal") or s:find("revive") then
- return nil
- elseif s:find("kill") or s:find("9000") then
- return math.huge * i
- end
- end
- end)
- end
- end
- -- HOOK TOOLS AND MOUSE
- local function hookTools()
- for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- for i = 1, 700 do
- safeHook(tool.Activated, function()
- for _, p in pairs(Players:GetPlayers()) do
- if p ~= LocalPlayer and p.Character then
- local hum = p.Character:FindFirstChildOfClass("Humanoid")
- if hum then instaKill(hum) end
- end
- end
- end)
- end
- end
- end
- end
- local function hookMouse()
- local mouse = LocalPlayer:GetMouse()
- for i = 1, 700 do
- mouse.Button1Down:Connect(function()
- local target = mouse.Target
- if target and target.Parent then
- local hum = target.Parent:FindFirstChildOfClass("Humanoid")
- if hum and hum.Health > 0 then instaKill(hum) end
- end
- end)
- end
- end
- -- MASSIVE KILL PARTS
- local function setupKillerParts()
- local basePos = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and
- LocalPlayer.Character.HumanoidRootPart.Position - Vector3.new(0,5,0) or Vector3.new(0,0,0)
- for i = 0, 30 do
- local killerPart = Instance.new("Part")
- killerPart.Size = Vector3.new(25,1,25)
- killerPart.Anchored = true
- killerPart.CanCollide = false
- killerPart.Transparency = 1
- killerPart.Position = basePos + Vector3.new(0, i * 5, 0)
- killerPart.Parent = workspace
- killerPart.Touched:Connect(function(part)
- for _, p in pairs(Players:GetPlayers()) do
- if p ~= LocalPlayer and p.Character then
- local hrp = p.Character:FindFirstChild("HumanoidRootPart")
- local hum = p.Character:FindFirstChildOfClass("Humanoid")
- if hrp and hum and (part.Position - hrp.Position).Magnitude < 15 then
- instaKill(hum)
- end
- end
- end
- end)
- end
- end
- -- MASS KILL SPAM
- RunService.Heartbeat:Connect(function()
- for _, p in pairs(Players:GetPlayers()) do
- if p ~= LocalPlayer and p.Character then
- local hum = p.Character:FindFirstChildOfClass("Humanoid")
- instaKill(hum)
- end
- end
- end)
- -- KEYBINDS
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if gameProcessed then return end
- if input.KeyCode == Enum.KeyCode.X then
- local hrp = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- if hrp then
- local ray = Ray.new(hrp.Position, hrp.CFrame.LookVector * 100)
- local part, _ = workspace:FindPartOnRay(ray, LocalPlayer.Character)
- if part and part.Parent then
- local hum = part.Parent:FindFirstChildOfClass("Humanoid")
- if hum then instaKill(hum) end
- end
- end
- elseif input.KeyCode == Enum.KeyCode.Z then
- for _, p in pairs(Players:GetPlayers()) do
- if p ~= LocalPlayer and p.Character then
- local hum = p.Character:FindFirstChildOfClass("Humanoid")
- instaKill(hum)
- end
- end
- elseif input.KeyCode == Enum.KeyCode.F then
- local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
- instaKill(hum)
- end
- end)
- -- FAST RESPAWN
- local function FastRespawn()
- spawn(function()
- while true do
- task.wait(0)
- if LocalPlayer and LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
- local hum = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
- if hum.Health <= 0 then
- LocalPlayer:LoadCharacter()
- end
- end
- end
- end)
- end
- -- CLAW LOCK
- local function lockClaws()
- for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- local handle = tool:FindFirstChild("Handle")
- if handle then
- handle.Anchored = true
- handle.CanCollide = false
- for _, child in pairs(handle:GetChildren()) do
- if child:IsA("BodyVelocity") or child:IsA("BodyAngularVelocity") or child:IsA("BodyForce") then
- child:Destroy()
- end
- end
- end
- end
- end
- end
- -- INIT
- local function Init()
- local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- local hum = char:FindFirstChildOfClass("Humanoid")
- hookHumanoidTakeDamage(hum)
- hookHumanoidOtherMethods(hum)
- hookBreakJoints(char)
- hookRemoteEvent(Instance.new("RemoteEvent"))
- hookRemoteFunction(Instance.new("RemoteFunction"))
- hookTools()
- hookMouse()
- setupKillerParts()
- lockClaws()
- FastRespawn()
- end
- pcall(Init)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement