if i click a chest, I want it to choose a random item,
for example the sword is a rare item
and costume is very rare
how to set percentage? like it has a 5% to get the item.
I know you can put it like if click on chest "set random value to choose(1, 2, 3, 4, etc)
and if it value = 1 it should give a sword.
but i dont want that, i want to know how you give it a %5 drop rate.