help with click detection

im trying to make a custom item and make it run a function and i havent been having any luck with it
Continue to help post