Prtty Much Evry Bordr Gam Evr Script | KILL ALL

Created by Yax

Features:

  • KILL ALL
if not game:IsLoaded() then
game.Loaded:Wait()
end

getgenv().Autofarm = true

local Players = game:GetService('Players')
local Player = Players.LocalPlayer
local RunService = game:GetService('RunService')

local Character,Humanoid,HumanoidRootPart

function SetCharVars()
Character = Player.Character
Humanoid = Character:WaitForChild("Humanoid")
HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
end
SetCharVars()



if Player.Team.Name == "choosing" then
  HumanoidRootPart.CFrame = CFrame.new(-9, 4, -5060.5)
  wait(1)
end


function RemoveShit()
   RunService.Heartbeat:Connect(function()
       for i,f in pairs(game.Workspace[Player.Name].Head:GetChildren()) do
           f.Parent = nil
       end
       for i,f in pairs(game.Workspace[Player.Name]:GetChildren()) do
           if f:IsA("Accessory") then
               f.Parent = nil
           end
       end
   end)
end
coroutine.wrap(RemoveShit)()

local Teams = {"choosing","peasant","viking","viking chieftain","sorcerer","witch"}


function KillAura()
   local lastAttack = tick()
   RunService.Heartbeat:Connect(function()
      if (tick() - lastAttack) < 0.1 then
          return
      end
     
      local chr = Player.Character;
      local hmn = (chr and chr:FindFirstChildOfClass('Humanoid'))
      local swd = (chr and chr:FindFirstChildOfClass('Tool'))
      local hnd = (swd and swd:FindFirstChild('Handle'))
      local hrp = (chr and chr:FindFirstChild('HumanoidRootPart'))
      if ((hmn and hmn.Health > 0) and swd and hnd) then
          for _, player in next, Players:GetPlayers() do
              if player ~= Player then
                  local pchr = player.Character;
                  local phmn = pchr and pchr:FindFirstChild('Humanoid')
                  local phrp = pchr and pchr:FindFirstChild('HumanoidRootPart')
                 
                  if ((phmn and phmn.Health > 0) and phrp) and Autofarm then
                      if (hrp.Position - phrp.Position).magnitude <= 100 then
                          local list = pchr:GetChildren()
                          for i = #list, 1, -1 do
                              if (not list[i]:IsA('BasePart')) then
                                  table.remove(list, i)    
                              end
                          end
                         
                          local prt = list[math.random(#list)]
                         
                          swd:Activate()
                          firetouchinterest(hnd, prt, 0)
                          firetouchinterest(hnd, prt, 1)
                          lastAttack = tick()
                      end
                  end
              end
          end
      end
   end)

end
coroutine.wrap(KillAura)()

coroutine.wrap(function()
   wait(3)
   Player.Character.Humanoid.Health = 0
   while wait(math.random(9, 17)) do
       Player.Character.Humanoid.Health = 0
   end
end)()


function FFCheck(Char)
   if not(Char:FindFirstChild("ForceField")) then
       return true
   end
   return false
end



local function ClosestPlayer()
local Distance = math.huge
local User
for _,v in pairs(Players:GetChildren()) do
   
local Char = v.Character
if v.Name ~= Player.Name and v.Team ~= Player.Team and not table.find(Teams,v.Team.Name) and FFCheck(Char) then
if Char.Humanoid.Health ~= 0 then
   
local Position_A = HumanoidRootPart.Position
local Position_B = Char.HumanoidRootPart.Position
local Magnitude = (Position_A - Position_B).Magnitude
if Magnitude < Distance then
Distance = Magnitude
User = v.Name
end
end
end
end
if User ~= nil then
return User
end
end



local Targ
function Start()
   Humanoid:EquipTool(Player.Backpack:FindFirstChild("sword"))
   repeat wait()
       Targ = ClosestPlayer()
           if Targ and Player.Team.Name ~= "timeout" then
               Character.HumanoidRootPart.CFrame = game:GetService("Players")[Targ].Character.HumanoidRootPart.CFrame + game:GetService("Players")[Targ].Character.HumanoidRootPart.CFrame.lookVector * -2
           else
               Character.HumanoidRootPart.CFrame = CFrame.new(6, 5.9999985694885, -5006)
           end
   until not Autofarm or nil
   Start()
end


Player.CharacterAdded:Connect(function()
   SetCharVars()
   Start()
end)

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email