Inventory System being weird

So, I’m creating a Inventory System (not using metatables) however though when I add a value to the Players Inventory and it is Stackable it should add 1 to the Value, however it adds like 3 or 4 to the value each time I pick up a Item… Any explanation as to why it does this?

https://gyazo.com/d37afd023195bcec1c48f8b80af14d36

Hey. How are you calling the function? Kindly let me know.

1 Like

Nevermind, I found the reason… I didn’t add a denounce to clicking the part and opening the UI therefore it opened many and upon clicking on confirm it gave me more than 1. Hard to explain but I fixed it, ty for trying to help tho.

1 Like