Roblox The Bonelands Script Kill All

Roblox The Bonelands Script Kill All

Script by walmort

local PLRS = game:GetService("Players")
local LP = PLRS.LocalPlayer
local RUN = game:GetService("RunService")

function FindNil(Name)
   for _, Object in pairs(getnilinstances()) do
       if Object.Name == Name then
           return Object
       end
   end
end

function Kill(Player)
   if Player ~= LP and Player and Player.Character and Player.Character.HumanoidRootPart and LP.Character and LP.Character.HumanoidRootPart and LP.Character:FindFirstChild("Longsword") then
       local Sword = LP.Character:FindFirstChild("Longsword")
       LP.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -3)
       RUN.RenderStepped:Wait()
       Sword.ActionMain:FireServer("DealDamage", {{Player.Character, true}}, {FindNil("SwingLeft"), 1/0, false, Vector3.new(8, 2, 5), 0.1, 1, false, Player.Character.HumanoidRootPart.CFrame})
   end
end

function KillAll()
   for _, Player in pairs(PLRS:GetPlayers()) do
       pcall(Kill, Player)
   end
end

KillAll()

Leave a Comment

Your email address will not be published.

%d bloggers like this: