now the first one is running no matter what if enemy.Name = "OgreNPC or "RedOgreGeneralNPC" then
if workspace.DungeonTemp:FindFirstChild("Wave1") then
local tableOfEnemies = game.Workspace.DungeonTemp.Wave1:GetChildren()
for _, enemy in pairs(tableOfEnemies) do
print("Wave 1")
if enemy.Name == "OgreNPC" or "RedOgreGeneralNPC" then --(Wave 1,5, )
enemy.ClubHitbox:Destroy()
print("Attack Removed")
end
if enemy.Name == "SnibberNPC" then --(Wave 2, )
enemy.StickHitbox:Destroy()
print("Attack Removed")
end
just those 2 enemies have the same weapon name so i wanted to put them together
