Advertisement
RandomMagics

Project Lazarus

Jun 19th, 2022
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. Code:
  2. old = hookmetamethod(game, "__namecall", function(self, ...)
  3. if getnamecallmethod() == "InvokeServer" and self.Name == "UpdateDamageKey" then
  4. a = {...}
  5. getgenv().id = a[1]
  6. end
  7. return old(self, ...)
  8. end)
  9. ------------------------------------------------------
  10. execute this after spawning:
  11. Code:
  12. game:GetService("UserInputService").InputBegan:Connect(function(k,t)
  13. if not t and k.KeyCode == Enum.KeyCode.E then
  14. for i,v in pairs(workspace.Baddies:GetChildren()) do
  15. pcall(function()
  16. v.Humanoid.Damage:FireServer({["Knifed"] = true, ["BodyPart"] = v.HumanoidRootPart, ["Damage"] = math.huge}, id)
  17. end)
  18. end
  19. end
  20. end)
  21. press E to kill every zombie
  22.  
  23. -------------------------------------------------------------
  24. Code:
  25. for i = 1,10000 do
  26. coroutine.wrap(function()
  27. workspace.Baddies:GetChildren()[1].Humanoid.Damage:FireServer({["Knifed"] = true, ["BodyPart"] = workspace.Baddies:GetChildren()[1].HumanoidRootPart, ["Damage"] = -150}, id)
  28. end)()
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement