It does work, and I remember looking at the code because I got pissed off at it for scamming me.
I can’t remember how it works exactly, or the odds that are involved. All I remember is each skin has a point value depending on its rarity. The higher the point value goes the more chance you have of getting a legendary skin, although this is obvious and you don’t need to see the code to know that
If you want a higher tier skin, you are better off trading with other players and ignoring the skin roll entirely.