Posted
so I made a script where when you get hit, the boogyman starts knifing people and saves u from death.
also, buy the bowie knife to make boogyman stronger. also, it works with juggernaut
https://www.roblox.com/games/8054462345/Michaels-Zombies
local localPlayer = game:GetService("Players").LocalPlayer
local function booga()
local closestPlayer = nil
local shortestDistance = math.huge
for i, v in pairs(workspace.Ignore.Zombies:GetChildren()) do
if v:FindFirstChild("Humanoid") and v.Humanoid.Health ~= 0 and v:FindFirstChild("Head") then
local magnitude = (v.Head.Position - localPlayer.Character.Head.Position).magnitude
if magnitude < shortestDistance then
closestPlayer = v
shortestDistance = magnitude
end
end
end
return closestPlayer
end
while true do
wait()
spawn(function()
if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health < 80 then
local args = {
[1] = booga().Humanoid
}
game:GetService("ReplicatedStorage").Framework.Remotes.KnifeHitbox:FireServer(unpack(args))
end
end)
endooogabooga skipbidibopbamboop
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post