how can i prevent player to press 2 buttons at the same time

Gate or Bool and branch.