local Prey = require(game:GetService("ReplicatedStorage"):WaitForChild("Client"):WaitForChild("Prey")) getgenv().ZooOrOof = getgenv().ZooOrOof or { AutoTaunting = false, AutoFarming = false, Kill = function() for _, char in pairs(workspace.Gameplay.Dynamic.Animals:GetChildren()) do local __charHead__ = char:FindFirstChild("Head") or char:FindFirstChild("Head_Main") while char and char.Parent do game:GetService("ReplicatedStorage"):WaitForChild("Net"):FireServer( "Shooting.shotPlayer", __charHead__.Position, __charHead__.Position, Prey.getPlayerFromAnimalPart(__charHead__), __charHead__.Name, CFrame.new(0,1,0) ) task.wait(0.1) end end end, AutoFarm = function(state) getgenv().ZooOrOof.AutoFarming = state coroutine.wrap(function() while getgenv().ZooOrOof.AutoFarming do local __keeper__ = (function() for _,v in pairs(game:GetService("Players"):GetPlayers()) do if v.Team.Name == "Keeper" then return v end end end)() if game.Players.LocalPlayer.Team.Name == "Animal" and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then getgenv().ZooOrOof.Invis() if not getgenv().ZooOrOof.AutoTaunting then getgenv().ZooOrOof.AutoTaunt(true) end if __keeper__ then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = __keeper__.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,0) game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0) end elseif getgenv().ZooOrOof.AutoTaunting then getgenv().ZooOrOof.AutoTaunt(false) end if game.Players.LocalPlayer == __keeper__ and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then for i,v in pairs(workspace.Gameplay.Dynamic.Maps:GetChildren()[1].Gameplay.Props:GetChildren()) do game:GetService("ReplicatedStorage"):WaitForChild("Net"):FireServer( "Map.destroyProps", v.Name, v.WorldPivot ) end for _,v in pairs(workspace.Gameplay.Dynamic.Animals:GetChildren()) do local __charHead__ = v:FindFirstChild("Head") or v:FindFirstChild("Head_Main") while v and v.Parent do game:GetService("ReplicatedStorage"):WaitForChild("Net"):FireServer( "Shooting.shotPlayer", __charHead__.Position, __charHead__.Position, Prey.getPlayerFromAnimalPart(__charHead__), __charHead__.Name, CFrame.new(0,1,0) ) task.wait(0.05) end end end game:GetService("RunService").Heartbeat:Wait() end getgenv().ZooOrOof.AutoTaunt(false) end)() end, Invis = function() local __plrAnimal__ = Prey.getAll()[game:GetService("Players").LocalPlayer] if __plrAnimal__ ~= nil then local __lastPosition__ = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame while Prey.getAll()[game:GetService("Players").LocalPlayer] ~= nil do game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(23.5327759, 30.2869987, 244.589478, 1, 0, 0, 0, 1, 0, 0, 0, 1) game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,1,0) game:GetService("RunService").Heartbeat:Wait() end for _ = 1, 50 do game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(23.5327759, 30.2869987, 244.589478, 1, 0, 0, 0, 1, 0, 0, 0, 1) game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,1,0) game:GetService("RunService").Heartbeat:Wait() end game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = __lastPosition__ end end, ClearMap = function() for i,v in pairs(workspace.Gameplay.Dynamic.Maps:GetChildren()[1].Gameplay.Props:GetChildren()) do game:GetService("ReplicatedStorage"):WaitForChild("Net"):FireServer( "Map.destroyProps", v.Name, v.WorldPivot ) end end, AutoTaunt = function(state) getgenv().ZooOrOof.AutoTaunting = state coroutine.wrap(function() while getgenv().ZooOrOof.AutoTaunting do game:GetService("ReplicatedStorage"):WaitForChild("Net"):FireServer("Taunt.play") task.wait(1) end end)() end } getgenv().ZooOrOof["AutoFarm"](true)