Advertisement
MrBlack2010

Project Lazarus Kill All

Apr 3rd, 2022
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.67 KB | None | 0 0
  1. getgenv().settings = {
  2.     ['killall'] = false,
  3.     ['farmmoney'] = false,
  4. }
  5. function getKey()
  6.     for i , v in pairs(getgc(true)) do
  7.         if type(v) == 'function' and debug.getinfo(v).name == 'Fire' and getfenv(v).script == game.Players.LocalPlayer.Character:WaitForChild("WeaponScript") then
  8.             return debug.getupvalue(v,15)
  9.         end
  10.     end
  11. end
  12. local key = getKey()
  13. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  14. wait(2)
  15. key = getKey()
  16. end)
  17. while getgenv().settings.killall or getgenv().settings.farmmoney do
  18. wait()
  19. if getgenv().settings.killall then
  20. if not key then
  21. key = getKey()
  22. wait(1)
  23. else
  24.     for i , v in pairs(game:GetService("Workspace").Baddies:GetChildren()) do
  25.         if v:FindFirstChild("Humanoid") and v.Humanoid:FindFirstChild("Damage") then
  26.             v.Humanoid.Damage:FireServer({
  27.                 ['BodyPart'] = v.HeadBox,
  28.                 ['Force'] = 0,
  29.                 ['GibPower'] = 0,
  30.                 ['Damage'] =  math.huge
  31.             },key)
  32.         end
  33.     end
  34. end
  35.     end
  36. if getgenv().settings.farmmoney then
  37. if not key then
  38. key = getKey()
  39. wait(1)
  40. else
  41.     for i , v in pairs(game:GetService("Workspace").Baddies:GetChildren()) do
  42.         if v:FindFirstChild("Humanoid") and v.Humanoid:FindFirstChild("Damage") then
  43.         for i = 1 ,2 do
  44.             v.Humanoid.Damage:FireServer({
  45.                 ['BodyPart'] = v.HeadBox,
  46.                 ['Force'] = 0,
  47.                 ['GibPower'] = 0,
  48.                 ['Damage'] =  0
  49.             },key)
  50.         end
  51.         end
  52.     end
  53.     end
  54. end
  55. end
  56.  
  57. -- Turn kill all to "true" if you want to kill all
  58. -- Turn money farm to "true" if u want money
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement