Roblox Zombie Strike op NPC FARM

Roblox Zombie Strike op NPC FARM

Script By banckielol03

local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()

local w = library:CreateWindow("ZombieStrike") -- Creates the window

local b = w:CreateFolder("Main Ui") -- Creates the folder(U will put here your buttons,etc)


b:Label("Functions",{
   TextSize = 25; -- Self Explaining
   TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
   BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
       
})

b:Toggle("AutoKillZombies",function(bool)
   if bool then
       noclip = false
   game:GetService('RunService').Stepped:connect(function()
   if noclip then
   game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
   end
   end)
   noclip = not noclip
   game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
   print('Loaded')
       getgenv().autofarm = true;
   else
       getgenv().autofarm = false;
   end
end)

b:Button("HideYourName",function()
   game.Players.LocalPlayer.Character.InfoDisplay:Destroy()
end)

while wait() do
   if getgenv().autofarm == true then
       game:GetService("RunService").Stepped:connect(function()
       local Npcss = game:GetService("Workspace").Zombies
       local Characterr = game.Players.LocalPlayer.Character

       for i,v in pairs(Npcss:GetChildren()) do
       local New_CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0, 9, 1)
       print(v.Name)
       local ts = game:GetService("TweenService")
       local uis = game:GetService("UserInputService")
       local char = game.Players.LocalPlayer.Character

       local part = char.HumanoidRootPart
       local ti = TweenInfo.new(1, Enum.EasingStyle.Linear)
       local tp = {CFrame = New_CFrame}
       
       repeat wait()
           ts:Create(part, ti, tp):Play()
           mouse1click()
           mousemoverel(0, 100)
       until v.Humanoid.Health == 0
       end
   end)
   end
end
%d bloggers like this: