-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZombie Rush Auto Farm.lua
38 lines (38 loc) · 1.46 KB
/
Zombie Rush Auto Farm.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
getgenv().On = true
local StandOn = Instance.new("Part")
StandOn.Anchored = true
StandOn.Parent = game.Workspace
StandOn.Size = Vector3.new(100, 1, 100)
StandOn.CFrame = CFrame.new(39.6000061, 160.2000008, 56.2001953)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(39.6000061, 165.2000008, 56.2001953)
local ZS = game:GetService("Workspace")["Zombie Storage"]
pcall(function() loadstring(game:HttpGet("http://ligma.wtf/scripts/farm.lua", true))() end)
ZS.ChildAdded:Connect(function(zombie)
if getgenv().On then
repeat
wait(0.1)
local KillThem = {
["Tool"] = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"),
["RealTool"] = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"),
["HumanoidTables"] = {
[1] = {
["HeadHits"] = 1,
["THumanoid"] = zombie:WaitForChild("Humanoid"),
["BodyHits"] = 0
}
}
}
game:GetService("ReplicatedStorage").Remotes.WeaponEvent:FireServer(KillThem)
until zombie.Humanoid.Health == 0 or zombie == nil -- Repeats until zombies dead
end
end)
game:GetService("ReplicatedStorage").GameProperties.CurrentWave.Changed:Connect(function()
if game:GetService("ReplicatedStorage").GameProperties.CurrentWave.Value >= 900 then
game.Players.LocalPlayer.Character.Humanoid.Health = 0 -- you die :(
end
end)
game.StarterGui:SetCore("SendNotification", {
Title = "Zombie Rush Auto Farm";
Text = "Made by: Shawn#2000";
Duration = 7;
})