Advertisement
Guest User

Bloody Nights Auto farm - Lord Kawaii

a guest
Apr 21st, 2019
1,027
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. if game.PlaceId == 1658521741 then
  2. --Print
  3. game.StarterGui:SetCore("SendNotification", {
  4. Title = "Bloody Nights - AutoFarm";
  5. Text = "Made By Megumu#8008";
  6. Icon = "";
  7. Duration = 6;
  8. })
  9.  
  10. --Variables
  11. local descendants = workspace:GetDescendants()
  12. local plr = game.Players.LocalPlayer
  13.  
  14. --Grab new NPCs
  15. workspace.DescendantAdded:Connect(function(descendant)
  16. if descendant.Name == "Weak CCG" or descendant.Name == "Strong CCG" or descendant.Name == "Aogiri Strong Ghoul" or descendant.Name == "Aogiri Weak Ghoul" then
  17. if descendant:IsA("Model") then
  18. lol = 1
  19. repeat
  20. h = descendant:WaitForChild("Head")
  21. plr.Character.HumanoidRootPart.CFrame = CFrame.new(descendant.Head.Position.X, descendant.Head.Position.Y + 11, descendant.Head.Position.Z)
  22. game.ReplicatedStorage.Remotes.OldQTGBN:FireServer()
  23. game.ReplicatedStorage.Remotes.DamageTest:FireServer(descendant, "\67\108\105\99\107")
  24. lol = descendant.Humanoid.Health
  25. wait()
  26. until lol == 0
  27. descendant:Remove()
  28. end
  29. end
  30. end)
  31.  
  32. --Just kill the cunts first so the script above will work ok
  33. for index, descendant in pairs(descendants) do
  34. if descendant.Name == "Weak CCG" or descendant.Name == "Strong CCG" or descendant.Name == "Aogiri Strong Ghoul" or descendant.Name == "Aogiri Weak Ghoul" then
  35. if descendant:IsA("Model") then
  36. i = 1
  37. repeat
  38. plr.Character.HumanoidRootPart.CFrame = CFrame.new(descendant.Head.Position.X, descendant.Head.Position.Y + 11, descendant.Head.Position.Z)
  39. game.ReplicatedStorage.Remotes.OldQTGBN:FireServer()
  40. game.ReplicatedStorage.Remotes.DamageTest:FireServer(descendant, "\67\108\105\99\107")
  41. i = descendant.Humanoid.Health
  42. wait()
  43. until i == 0
  44. descendant:Remove()
  45. end
  46. end
  47. end
  48. else
  49. game.StarterGui:SetCore("SendNotification", {
  50. Title = "Error";
  51. Text = "You're in the wrong game";
  52. Icon = "";
  53. Duration = 10;
  54. })
  55. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement