Advertisement
Azzz_4565

Untitled

Jun 27th, 2025
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 9.27 KB | None | 0 0
  1. -- ⚡ NGF ULTRA MEGA KILL SCRIPT - FULL VERSION ⚡
  2.  
  3. -- SERVICES
  4. local Players = game:GetService("Players")
  5. local LocalPlayer = Players.LocalPlayer
  6. local RunService = game:GetService("RunService")
  7. local UserInputService = game:GetService("UserInputService")
  8. local stepped = RunService.Stepped
  9.  
  10. -- SAFE HOOK WRAPPER
  11. local function safeHook(func, hookFunc)
  12.     local ok, old = pcall(function() return hookfunction(func, hookFunc) end)
  13.     if ok then return old end
  14.     return nil
  15. end
  16.  
  17. -- INSTANT KILL + HEAL BLOCK
  18. local function instaKill(humanoid)
  19.     if humanoid and humanoid.Health > 0 then
  20.         humanoid.Health = 0
  21.         local mt = getrawmetatable(humanoid)
  22.         if mt and not mt.__newindexHooked then
  23.             local oldNewIndex = mt.__newindex
  24.             setreadonly(mt, false)
  25.             mt.__newindex = function(self, key, value)
  26.                 if self == humanoid and key == "Health" and value > 0 then return end
  27.                 return oldNewIndex(self, key, value)
  28.             end
  29.             mt.__newindexHooked = true
  30.             setreadonly(mt, true)
  31.         end
  32.     end
  33. end
  34.  
  35. -- MASSIVE HOOKS TO REMOVE DELAYS
  36. local waitFuncs = {wait, task.wait, delay, spawn, task.delay}
  37. for _, func in pairs(waitFuncs) do
  38.     for _ = 1, 200 do
  39.         if func == wait or func == task.wait then
  40.             safeHook(func, function() return stepped:Wait() end)
  41.         else
  42.             safeHook(func, function(_, f) task.spawn(f) end)
  43.         end
  44.     end
  45. end
  46.  
  47. -- BOOST CLAW SPEED
  48. local bodyMoverClasses = {"BodyVelocity", "BodyForce", "BodyAngularVelocity"}
  49. local mt = getrawmetatable(Instance.new("Part"))
  50. setreadonly(mt, false)
  51. local oldNewIndex = mt.__newindex
  52. mt.__newindex = function(self, key, value)
  53.     if table.find(bodyMoverClasses, self.ClassName) then
  54.         if key == "Velocity" or key == "Force" or key == "AngularVelocity" then
  55.             if typeof(value) == "Vector3" then
  56.                 value = value * 9000
  57.             end
  58.         end
  59.     end
  60.     return oldNewIndex(self, key, value)
  61. end
  62. setreadonly(mt, true)
  63.  
  64. -- HOOK DAMAGE, STATE, SIT, etc.
  65. local function hookHumanoidTakeDamage(humanoid)
  66.     if not humanoid then return end
  67.     for i = 1, 300 do
  68.         safeHook(humanoid.TakeDamage, function(self, damage)
  69.             instaKill(self)
  70.             return math.huge * i
  71.         end)
  72.     end
  73. end
  74.  
  75. local function hookHumanoidOtherMethods(humanoid)
  76.     if not humanoid then return end
  77.     for i = 1, 500 do
  78.         safeHook(humanoid.ChangeState, function(self, state)
  79.             instaKill(self)
  80.             return true
  81.         end)
  82.         safeHook(humanoid.Sit, function()
  83.             instaKill(humanoid)
  84.             return false
  85.         end)
  86.         safeHook(humanoid.SetStateEnabled, function() return false end)
  87.     end
  88. end
  89.  
  90. local function hookBreakJoints(char)
  91.     if not char then return end
  92.     for i = 1, 200 do
  93.         safeHook(char.BreakJoints, function(self)
  94.             local h = self:FindFirstChildOfClass("Humanoid")
  95.             if h then instaKill(h) end
  96.         end)
  97.     end
  98. end
  99.  
  100. -- HOOK REMOTE EVENTS & FUNCTIONS
  101. local function hookRemoteEvent(remoteEvent)
  102.     if not remoteEvent then return end
  103.     for i = 1, 500 do
  104.         safeHook(remoteEvent.FireServer, function(self, ...)
  105.             local args = {...}
  106.             for _, v in pairs(args) do
  107.                 local s = tostring(v):lower()
  108.                 if s:find("heal") or s:find("revive") then
  109.                     return
  110.                 elseif s:find("kill") or s:find("damage") then
  111.                     return math.huge * i
  112.                 end
  113.             end
  114.         end)
  115.     end
  116. end
  117.  
  118. local function hookRemoteFunction(remoteFunction)
  119.     if not remoteFunction then return end
  120.     for i = 1, 500 do
  121.         safeHook(remoteFunction.InvokeServer, function(self, ...)
  122.             local args = {...}
  123.             for _, v in pairs(args) do
  124.                 local s = tostring(v):lower()
  125.                 if s:find("heal") or s:find("revive") then
  126.                     return nil
  127.                 elseif s:find("kill") or s:find("9000") then
  128.                     return math.huge * i
  129.                 end
  130.             end
  131.         end)
  132.     end
  133. end
  134.  
  135. -- HOOK TOOLS AND MOUSE
  136. local function hookTools()
  137.     for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  138.         if tool:IsA("Tool") then
  139.             for i = 1, 700 do
  140.                 safeHook(tool.Activated, function()
  141.                     for _, p in pairs(Players:GetPlayers()) do
  142.                         if p ~= LocalPlayer and p.Character then
  143.                             local hum = p.Character:FindFirstChildOfClass("Humanoid")
  144.                             if hum then instaKill(hum) end
  145.                         end
  146.                     end
  147.                 end)
  148.             end
  149.         end
  150.     end
  151. end
  152.  
  153. local function hookMouse()
  154.     local mouse = LocalPlayer:GetMouse()
  155.     for i = 1, 700 do
  156.         mouse.Button1Down:Connect(function()
  157.             local target = mouse.Target
  158.             if target and target.Parent then
  159.                 local hum = target.Parent:FindFirstChildOfClass("Humanoid")
  160.                 if hum and hum.Health > 0 then instaKill(hum) end
  161.             end
  162.         end)
  163.     end
  164. end
  165.  
  166. -- MASSIVE KILL PARTS
  167. local function setupKillerParts()
  168.     local basePos = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and
  169.                     LocalPlayer.Character.HumanoidRootPart.Position - Vector3.new(0,5,0) or Vector3.new(0,0,0)
  170.  
  171.     for i = 0, 30 do
  172.         local killerPart = Instance.new("Part")
  173.         killerPart.Size = Vector3.new(25,1,25)
  174.         killerPart.Anchored = true
  175.         killerPart.CanCollide = false
  176.         killerPart.Transparency = 1
  177.         killerPart.Position = basePos + Vector3.new(0, i * 5, 0)
  178.         killerPart.Parent = workspace
  179.         killerPart.Touched:Connect(function(part)
  180.             for _, p in pairs(Players:GetPlayers()) do
  181.                 if p ~= LocalPlayer and p.Character then
  182.                     local hrp = p.Character:FindFirstChild("HumanoidRootPart")
  183.                     local hum = p.Character:FindFirstChildOfClass("Humanoid")
  184.                     if hrp and hum and (part.Position - hrp.Position).Magnitude < 15 then
  185.                         instaKill(hum)
  186.                     end
  187.                 end
  188.             end
  189.         end)
  190.     end
  191. end
  192.  
  193. -- MASS KILL SPAM
  194. RunService.Heartbeat:Connect(function()
  195.     for _, p in pairs(Players:GetPlayers()) do
  196.         if p ~= LocalPlayer and p.Character then
  197.             local hum = p.Character:FindFirstChildOfClass("Humanoid")
  198.             instaKill(hum)
  199.         end
  200.     end
  201. end)
  202.  
  203. -- KEYBINDS
  204. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  205.     if gameProcessed then return end
  206.     if input.KeyCode == Enum.KeyCode.X then
  207.         local hrp = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  208.         if hrp then
  209.             local ray = Ray.new(hrp.Position, hrp.CFrame.LookVector * 100)
  210.             local part, _ = workspace:FindPartOnRay(ray, LocalPlayer.Character)
  211.             if part and part.Parent then
  212.                 local hum = part.Parent:FindFirstChildOfClass("Humanoid")
  213.                 if hum then instaKill(hum) end
  214.             end
  215.         end
  216.     elseif input.KeyCode == Enum.KeyCode.Z then
  217.         for _, p in pairs(Players:GetPlayers()) do
  218.             if p ~= LocalPlayer and p.Character then
  219.                 local hum = p.Character:FindFirstChildOfClass("Humanoid")
  220.                 instaKill(hum)
  221.             end
  222.         end
  223.     elseif input.KeyCode == Enum.KeyCode.F then
  224.         local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  225.         instaKill(hum)
  226.     end
  227. end)
  228.  
  229. -- FAST RESPAWN
  230. local function FastRespawn()
  231.     spawn(function()
  232.         while true do
  233.             task.wait(0)
  234.             if LocalPlayer and LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  235.                 local hum = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  236.                 if hum.Health <= 0 then
  237.                     LocalPlayer:LoadCharacter()
  238.                 end
  239.             end
  240.         end
  241.     end)
  242. end
  243.  
  244. -- CLAW LOCK
  245. local function lockClaws()
  246.     for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  247.         if tool:IsA("Tool") then
  248.             local handle = tool:FindFirstChild("Handle")
  249.             if handle then
  250.                 handle.Anchored = true
  251.                 handle.CanCollide = false
  252.                 for _, child in pairs(handle:GetChildren()) do
  253.                     if child:IsA("BodyVelocity") or child:IsA("BodyAngularVelocity") or child:IsA("BodyForce") then
  254.                         child:Destroy()
  255.                     end
  256.                 end
  257.             end
  258.         end
  259.     end
  260. end
  261.  
  262. -- INIT
  263. local function Init()
  264.     local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  265.     local hum = char:FindFirstChildOfClass("Humanoid")
  266.  
  267.     hookHumanoidTakeDamage(hum)
  268.     hookHumanoidOtherMethods(hum)
  269.     hookBreakJoints(char)
  270.     hookRemoteEvent(Instance.new("RemoteEvent"))
  271.     hookRemoteFunction(Instance.new("RemoteFunction"))
  272.     hookTools()
  273.     hookMouse()
  274.     setupKillerParts()
  275.     lockClaws()
  276.     FastRespawn()
  277. end
  278.  
  279. pcall(Init)
  280.  
  281.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement