[Closed] [SOLVED] Populate array with loop?

One thing that’s wrong is that you’re getting a random Int within [0-4], whereas the array only has indices [0-3]; make it length - 1.

However, that would explain some items being Null, not all of them.