user4129: Are values in UTXO's stored in a set manner for example if 50 Tokens with metadata and 50 tokens without metadata had the same Token Name and currency symbol and were to be handed out from a script 1 at a time would it be a 50% chance of getting a metadata Token or would it be based on a order in some way?

user4627: I think a misunderstanding here may lie in the fact that the metadata generally is attached to transactions and not directly to the tokens.
The way an NFT is connected to its metadata is by looking back at the minting transaction of a token (the transaction that created the token in the first place). And by doing so there is no problem in moving the tokens around freely without loosing track of their metadata. See more on how its currently done here: https://cips.cardano.org/cips/cip25/#motivation.
However, if your question is not related to NFTs, for other "fungible" tokens (technically similar, but with a quantity > 1) I believe you can create a scenario, in which you cannot trace each token back to the original minting transaction and thus there is no such hard connection between a token and the initial tx metadata. You could for example create 50 tokens in a tx with metadata and later create 50 more of the same token in a tx without metadata and mix them up (ie use both as inputs to a single tx) so you can no longer strictly separate them.

4129: <p>Are values in UTXO's stored in a set manner for example if 50 Tokens with metadata and 50 tokens without metadata had the same Token Name and currency symbol and were to be handed out from a script 1 at a time would it be a 50% chance of getting a metadata Token or would it be based on a order in some way?</p>
 4627: <p>I think a misunderstanding here may lie in the fact that the metadata generally is attached to transactions and not directly to the tokens.</p>
<p>The way an NFT is connected to its metadata is by looking back at the minting transaction of a token <em>(the transaction that created the token in the first place)</em>. And by doing so there is no problem in moving the tokens around freely without loosing track of their metadata. See more on how its currently done here: <a href="https://cips.cardano.org/cips/cip25/#motivation" rel="nofollow noreferrer">https://cips.cardano.org/cips/cip25/#motivation</a>.</p>
<p>However, if your question is not related to NFTs, for other <em>&quot;fungible&quot;</em> tokens <em>(technically similar, but with a quantity &gt; 1)</em> I believe you can create a scenario, in which you cannot trace each token back to the original minting transaction and thus there is no such hard connection between a token and the initial tx metadata. You could for example create 50 tokens in a tx with metadata and later create 50 more of the same token in a tx without metadata and mix them up <em>(ie use both as inputs to a single tx)</em> so you can no longer strictly separate them.</p>
