I started programming a top-down zombie shooter as a school project a few months ago but ever since i added a main menu my gun doesn’t fire properly and i need to click too around 4 times before it shoots, and i can’t find the source of the problem, any ideas?