Randomness in smart contracts is difficult to achieve. There is a lot written about this, even in this forum. Please search the forum and the web for "NFT randomization" or similar.
Here's a popular thread for you to read:
Randomness in smart contracts is difficult to achieve. There is a lot written about this, even in this forum. Please search the forum and the web for "NFT randomization" or similar.
Here's a popular thread for you to read: