Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Credit = Instance.new("Message", workspace)
- Credit.Name = "creditzreee"
- Credit.Text = "The Zombie's Onslaught Money Farm by Lube#5220 on discord!"
- game:GetService("Debris"):AddItem(Credit, 5)
- wait(1)
- local MorphMode = false
- local Enabled = true
- local Debounce = true
- local DependantTable = {}
- local function MainFunction()
- if not game.Players.LocalPlayer.Character then return end
- if not game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then return end
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name == "Coin" or (v.Name == "Chest" and not MorphMode) then
- v.CanCollide = false
- v.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- end
- end
- end
- if Enabled then
- game:GetService("RunService"):BindToRenderStep("AutoFarmMain", Enum.RenderPriority.Camera.Value - 1, MainFunction)
- end
- game:GetService("UserInputService").InputBegan:Connect(function(input, onGui)
- if onGui or not Debounce then return end
- local KeyCodeRecognized = false
- if input.KeyCode == Enum.KeyCode.Z then
- Debounce = false
- KeyCodeRecognized = true
- MorphMode = not MorphMode
- local NewMsg = Instance.new("Message", workspace)
- NewMsg.Name = "lolFuckYouSuperEvilAzmil"
- if MorphMode then
- NewMsg.Text = "Morph Mode Turned On"
- else NewMsg.Text = "Morph Mode Turned Off"
- end
- game:GetService("Debris"):AddItem(NewMsg, 1)
- elseif input.KeyCode == Enum.KeyCode.X then
- Debounce = false
- KeyCodeRecognized = true
- Enabled = not Enabled
- local NewMsg = Instance.new("Message", workspace)
- NewMsg.Name = "lolFuckYouSuperEvilAzmil"
- if Enabled then
- game:GetService("RunService"):BindToRenderStep("AutoFarmMain", Enum.RenderPriority.Camera.Value - 1, MainFunction)
- NewMsg.Text = "Auto Farm Turned On"
- else
- game:GetService("RunService"):UnbindFromRenderStep("AutoFarmMain")
- NewMsg.Text = "Auto Farm Turned Off"
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name == "Coin" or v.Name == "Chest" then
- v.CanCollide = true
- end
- end
- for i,v in pairs(DependantTable) do
- v = true
- end
- end
- game:GetService("Debris"):AddItem(NewMsg, 1)
- end
- delay(.5, function()
- if not Debounce and KeyCodeRecognized then
- Debounce = true
- end
- end)
- end)
- print("Auto Farm by Lube#5220 loaded.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement