Does anyone know how to make a button that has a 10% chance to grant a specific item?

I am making a “chest” type thing were when a player opens the “chest”, they will get a specific weapon that is predetermined (a weapon that has a 100% chance of getting) and they will have a 10% chance of getting a ticket. How could I do this? If you need a deeper explanation on what I am trying to do but can’t, feel free to ask.

this will help you learn block code, making you know how to do that since what you are asking for is very detailed and will require lots of explaining

Personally, this taught me how to block code, its very useful :smiley:

Make sure to mark an answer if something works @Gimkiter28 !

the device is a trigger btw, the author got confused

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.