How to make a combo input action with an already existing input action

So I have two types of attacks I want to implement, one that triggers by a left mouse button click and one that triggers by pressing shift + left mouse button. I already have the left mouse button alone implemented, but when trying to add the shift + left mouse button attack it tries to play both at the same time. What would be the best way to implement this without them trying to play at the same time?

You can instead try to do a Boolean check when the shift key is held or not. If it is, set the boolean to true and then inside your attack function, you can do a branch check this boolean value.