# Getting a Random set of numbers without any duplicates

**URL:** <https://forum.kirupa.com/t/getting-a-random-set-of-numbers-without-any-duplicates/211223>\
**Category:** Uncategorized\
**Created:** [December 28, 2006, 8:03pm UTC](https://forum.kirupa.com/t/getting-a-random-set-of-numbers-without-any-duplicates/211223 "2006-12-28T20:03:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwstratton](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mwstratton/32/1207_2.png) [@mwstratton](https://forum.kirupa.com/u/mwstratton)\
**Post date:** [December 28, 2006, 8:03pm UTC](https://forum.kirupa.com/t/getting-a-random-set-of-numbers-without-any-duplicates/211223/1 "2006-12-28T20:03:00Z")

</div>

Hello, I looked around but wasn’t able to really come across anything that explained how to do this very well, and I apologize if I overooked it…

Basically what I need to do is I’m populating a library with a for loop with specific clips that need to be in a random order but never duplicates.

So basically, it get selects a random number between 1-6 and if that number hasn’t been selected yet, it will run it will use it as my integer in my for loop then continue running the loop until numbers 1-6 have all been used, but never used twice.

Thanks in Advance!

Wes
