Advertisement
LuckyScripters

Kill All

May 13th, 2022 (edited)
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.43 KB | None | 0 0
  1. -- Roblox - Catalog Heaven - Kill All
  2. -- Made by LuckyScripters
  3.  
  4. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5. local Players = game:GetService("Players")
  6.  
  7. local LocalPlayer = Players.LocalPlayer
  8. local Character = LocalPlayer.Character
  9. local Backpack = LocalPlayer.Backpack
  10. local Humanoid = Character:FindFirstChild("Humanoid")
  11.  
  12. local Remotes = ReplicatedStorage:WaitForChild("Remotes")
  13. local ToggleAsset = Remotes:WaitForChild("ToggleAsset")
  14.  
  15. _G.AutoKillAll = true
  16. _G.IgnoreList = {}
  17. _G.HitList = {}
  18. _G.Priority = _G.IgnoreList
  19. _G.GearId = 83704165
  20.  
  21. local function FakeTouch(Part, ToTouch, Toggle)
  22.     firetouchinterest(Part, ToTouch, Toggle)
  23. end
  24.  
  25. while true do
  26.     if not _G.AutoKillAll then
  27.         Humanoid:UnequipTools()
  28.         Character.PrimaryPart.Anchored = false
  29.         return
  30.     end
  31.     for Index, Player in pairs(Players:GetPlayers()) do
  32.         if Player ~= LocalPlayer then
  33.             if _G.Priority == _G.IgnoreList then
  34.                 if not table.find(_G.IgnoreList, Player.UserId, 1) then
  35.                     local TargetCharacter = Player.Character
  36.                     if TargetCharacter then
  37.                         local TargetPrimaryPart = TargetCharacter.PrimaryPart
  38.                         local TargetHumanoid = TargetCharacter:FindFirstChild("Humanoid")
  39.                         if TargetPrimaryPart and TargetHumanoid and Humanoid and TargetHumanoid.Health > 0 and Humanoid.Health > 0 then
  40.                             if not Backpack:FindFirstChild("Icedagger") and not Character:FindFirstChild("Icedagger") then
  41.                                 ToggleAsset:InvokeServer(_G.GearId)
  42.                             end
  43.                             if Backpack:FindFirstChildOfClass("Tool") and not Character:FindFirstChildOfClass("Tool") then
  44.                                 Humanoid:EquipTool(Backpack:FindFirstChildOfClass("Tool"))
  45.                             end
  46.                             if not Character:FindFirstChildOfClass("Tool") then
  47.                                 return
  48.                             end
  49.                             if not Character:FindFirstChildOfClass("Tool"):FindFirstChild("Handle") then
  50.                                 return
  51.                             end
  52.                             Character.PrimaryPart.Anchored = true
  53.                             FakeTouch(TargetPrimaryPart, Character:FindFirstChildOfClass("Tool"):FindFirstChild("Handle"), 0)
  54.                             task.wait(0.1)
  55.                             FakeTouch(TargetPrimaryPart, Character:FindFirstChildOfClass("Tool"):FindFirstChild("Handle"), 1)
  56.                         end
  57.                     end
  58.                 end
  59.             elseif _G.Priority == _G.HitList then
  60.                 if table.find(_G.HitList, Player.UserId, 1) then
  61.                     local TargetCharacter = Player.Character
  62.                     if TargetCharacter then
  63.                         local TargetPrimaryPart = TargetCharacter.PrimaryPart
  64.                         local TargetHumanoid = TargetCharacter:FindFirstChild("Humanoid")
  65.                         if TargetPrimaryPart and TargetHumanoid and Humanoid and TargetHumanoid.Health > 0 and Humanoid.Health > 0 then
  66.                             if not Backpack:FindFirstChild("Icedagger") and not Character:FindFirstChild("Icedagger") then
  67.                                 ToggleAsset:InvokeServer(_G.GearId)
  68.                             end
  69.                             if Backpack:FindFirstChildOfClass("Tool") and not Character:FindFirstChildOfClass("Tool") then
  70.                                 Humanoid:EquipTool(Backpack:FindFirstChildOfClass("Tool"))
  71.                             end
  72.                             if not Character:FindFirstChildOfClass("Tool") then
  73.                                 return
  74.                             end
  75.                             if not Character:FindFirstChildOfClass("Tool"):FindFirstChild("Handle") then
  76.                                 return
  77.                             end
  78.                             Character.PrimaryPart.Anchored = true
  79.                             FakeTouch(TargetPrimaryPart, Character:FindFirstChildOfClass("Tool"):FindFirstChild("Handle"), 0)
  80.                             task.wait(0.1)
  81.                             FakeTouch(TargetPrimaryPart, Character:FindFirstChildOfClass("Tool"):FindFirstChild("Handle"), 1)
  82.                         end
  83.                     end
  84.                 end
  85.             end
  86.         end
  87.     end
  88.     task.wait()
  89. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement