it checks what wave is current, then checks the enemy name and destroys the hitbox of their weapon
OgreNPC is alive but it does warn none
if workspace.DungeonTemp:FindFirstChild("Wave1") then
local tableOfEnemies = game.Workspace.DungeonTemp.Wave1:GetChildren()
for _, enemy in pairs(tableOfEnemies) do
print("Wave 1")
if enemy == OgreNPC then
enemy.ClubHitbox:Destroy()
end
if enemy == RatdogNPC then
enemy.HeadHitbox:Destroy()
else
warn("None of these enemies")
end
end
