The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Zombie Strike script pastebin roblox
By LINK GAME on 2024-09-19 08:00 am | Syntax: LUA | Views: 16



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  2.  
  3. local w = library:CreateWindow("ZombieStrikeSim") -- Creates the window
  4.  
  5. local b = w:CreateFolder("Main Ui") -- Creates the folder(U will put here your buttons,etc)
  6.  
  7.  
  8. b:Label("Functions",{
  9.    TextSize = 25; -- Self Explaining
  10.    TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
  11.    BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
  12.        
  13. })
  14.  
  15. b:Toggle("AutoKillZombies",function(bool)
  16.    if bool then
  17.        noclip = false
  18.    game:GetService('RunService').Stepped:connect(function()
  19.    if noclip then
  20.    game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  21.    end
  22.    end)
  23.    noclip = not noclip
  24.    game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  25.    print('Loaded')
  26.        getgenv().autofarm = true;
  27.    else
  28.        getgenv().autofarm = false;
  29.    end
  30. end)
  31.  
  32. b:Button("HideYourName",function()
  33.    game.Players.LocalPlayer.Character.InfoDisplay:Destroy()
  34. end)
  35.  
  36. while wait() do
  37.    if getgenv().autofarm == true then
  38.        game:GetService("RunService").Stepped:connect(function()
  39.        local Npcss = game:GetService("Workspace").Zombies
  40.        local Characterr = game.Players.LocalPlayer.Character
  41.  
  42.        for i,v in pairs(Npcss:GetChildren()) do
  43.        local New_CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0, 9, 1)
  44.        print(v.Name)
  45.        local ts = game:GetService("TweenService")
  46.        local uis = game:GetService("UserInputService")
  47.        local char = game.Players.LocalPlayer.Character
  48.  
  49.        local part = char.HumanoidRootPart
  50.        local ti = TweenInfo.new(1, Enum.EasingStyle.Linear)
  51.        local tp = {CFrame = New_CFrame}
  52.        
  53.        repeat wait()
  54.            ts:Create(part, ti, tp):Play()
  55.            mouse1click()
  56.            mousemoverel(0, 100)
  57.        until v.Humanoid.Health == 0
  58.        end
  59.    end)
  60.    end
  61. end