[FIX] Bloody Baseplate Script | SERVER CRASHER, KILLAURA
----Server Crasher
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
while true do
wait()
local cplr = nil
local cdist = math.huge
for _, oplr in ipairs(Players:GetPlayers()) do
if oplr ~= LocalPlayer and oplr.Character and oplr.Character:FindFirstChild("HumanoidRootPart") then
local dist = (oplr.Character.HumanoidRootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
if dist < cdist then
cplr = oplr
cdist = dist
end
end
end
for i = 1, 50 do --remove this if you want a semi-killaura (this right now actually is a double use as it can also shoot the closest player)
LocalPlayer.Character.Glock.RemoteEvent:FireServer(cplr.Character.HumanoidRootPart.Position, cplr.Character.HumanoidRootPart.Position)
end --remove this too if you want the killaura
end
----Killaura
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
while wait(0.01) do
local range = 25 -- set your range here
local tplr = nil
local cdist = math.huge
for _, plrs in ipairs(Players:GetPlayers()) do
if plrs ~= LocalPlayer and plrs.Character and plrs.Character:FindFirstChild("HumanoidRootPart") then
local dist = (plrs.Character.HumanoidRootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
if dist < cdist and dist <= range and plrs.Character:FindFirstChild("Humanoid") and plrs.Character.Humanoid.Health > 0 then
tplr = plrs
cdist = dist
end
end
end
if tplr then
LocalPlayer.Character.Glock.RemoteEvent:FireServer(tplr.Character.HumanoidRootPart.Position, tplr.Character.HumanoidRootPart.Position)
end
end