Left mouse button not working with function override

I’m making an inventory system that requires the on mouse button double click override function. The right button works fine but I need the left button and it isn’t working


this is the code. How do I make this work?