I have made this roller to print a random DNA for a creatable character and it's otherwise done and ready, except for one problem: The part where it rolls MarkRoll() it should not give multiple same values but rather every value being unique. I want to keep the outcome sorted alphabetically for logging purposes.
I have tried multiple different solutions ie. combining the repeated values into showing only one with .splice, making a new list/array of the chosen random values from the original array and few other I don't even remember out of frustration. None of them worked, it just keeps showing multiple same values.
Thank you beforehand for helping out.
(Also sorry if it looks messy, it just makes sense to me to keep that in the current order with all the comments in between, helps me find what I need)