what is happening?
is has a lot of data modules inside the script, and it insert all modules into the _G.Database which is a table
Dictionaries do not store positions of elements, only the key used to access them.
If you want to have a way to get the order, you’ll need to have a seperate table that contains {"Common", "Uncommon", "Rare", "Legendary"}
, then use table.find on this new table while looking for the key from the original table, in order to determine position.
1 Like
didn’t know about that, thank you for helping me
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.