Give properties (roll chances) on buttons.

How do i do this… I have 96 buttons that each have certain probabilities. When the player presses on a button, it goes in the first open slot (there are five). How do i do it so that no matter the button, it adds it and then takes the probabilities of that button without doing On Clicked 96 times. (I created an array for each one and the probabilities are stored as integers). I created an array with all these buttons but can’t seem to make it work. My whole system works with just one button but i would like it to be the same for the 96 so i could just connect it once. (Sorry if my syntax is wrong, main language is not english)