Please give credit if you want to use, else I will have to report. I checked the x and y position of the buttons and made this detector
Idea:- credit to @Timmccool Code:- @Scratch_coding093