repeat spawnGoblin() currentGoblinCount = currentGoblinCount + 1 print("Current goblin count: " .. currentGoblinCount) until currentGoblinCount == 25