Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 1658521741 then
- --Print
- game.StarterGui:SetCore("SendNotification", {
- Title = "Bloody Nights - AutoFarm";
- Text = "Made By Megumu#8008";
- Icon = "";
- Duration = 6;
- })
- --Variables
- local descendants = workspace:GetDescendants()
- local plr = game.Players.LocalPlayer
- --Grab new NPCs
- workspace.DescendantAdded:Connect(function(descendant)
- if descendant.Name == "Weak CCG" or descendant.Name == "Strong CCG" or descendant.Name == "Aogiri Strong Ghoul" or descendant.Name == "Aogiri Weak Ghoul" then
- if descendant:IsA("Model") then
- lol = 1
- repeat
- h = descendant:WaitForChild("Head")
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(descendant.Head.Position.X, descendant.Head.Position.Y + 11, descendant.Head.Position.Z)
- game.ReplicatedStorage.Remotes.OldQTGBN:FireServer()
- game.ReplicatedStorage.Remotes.DamageTest:FireServer(descendant, "\67\108\105\99\107")
- lol = descendant.Humanoid.Health
- wait()
- until lol == 0
- descendant:Remove()
- end
- end
- end)
- --Just kill the cunts first so the script above will work ok
- for index, descendant in pairs(descendants) do
- if descendant.Name == "Weak CCG" or descendant.Name == "Strong CCG" or descendant.Name == "Aogiri Strong Ghoul" or descendant.Name == "Aogiri Weak Ghoul" then
- if descendant:IsA("Model") then
- i = 1
- repeat
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(descendant.Head.Position.X, descendant.Head.Position.Y + 11, descendant.Head.Position.Z)
- game.ReplicatedStorage.Remotes.OldQTGBN:FireServer()
- game.ReplicatedStorage.Remotes.DamageTest:FireServer(descendant, "\67\108\105\99\107")
- i = descendant.Humanoid.Health
- wait()
- until i == 0
- descendant:Remove()
- end
- end
- end
- else
- game.StarterGui:SetCore("SendNotification", {
- Title = "Error";
- Text = "You're in the wrong game";
- Icon = "";
- Duration = 10;
- })
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement