Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Event = ReplicatedStorage:WaitForChild("Damage")
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- _G.ZombieAutoFarm = false
- function ZombieAutoFarm()
- while true do
- if _G.ZombieAutoFarm == true then
- for i, Zombie in pairs(workspace.Zombies:GetChildren()) do
- if Zombie
- and Zombie:FindFirstChild("Head")
- then
- local Args = {
- [1] = 100;
- [2] = Zombie:FindFirstChild("Head");
- }
- Event:FireServer(unpack(Args))
- end
- task.wait()
- end
- end
- task.wait()
- end
- end
- local Window = OrionLib:MakeWindow({
- Name = "Area 51: Zombie Infection 🧟",
- HidePremium = false,
- SaveConfig = true,
- ConfigFolder = "AREA51ZI"
- })
- local Tab = Window:MakeTab({
- Name = "Main",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- Tab:AddToggle({
- Name = "Zombie AutoFarm",
- Default = false,
- Callback = function(Value)
- _G.ZombieAutoFarm = Value
- end
- })
- Tab:AddButton({
- Name = "Kill All Players",
- Callback = function()
- for i, Player in pairs(Players:GetPlayers()) do
- if not (Player == LocalPlayer)
- and Player.Character
- and Player.Character:FindFirstChild("Head")
- then
- local Args = {
- [1] = 1000;
- [2] = Player.Character.Head;
- }
- Event:FireServer(unpack(Args))
- end
- end
- end
- })
- task.spawn(ZombieAutoFarm)
- OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement