GUI Button doesn't work on single click

Hello, so basically I have a SurfaceGUI in StarterGUI adorned to a part of the workspace. This UI has Image buttons setup like shown, 2 Text Buttons under 1 Image Button and so It looks like the second image shown. When you click on the image button, It works fine and it makes the other two buttons visible in one click as expected but when I click on any of the other two buttons, they need 2 Clicks to work. The script uses the simple MouseButton1Click function for detecting clicks. Any help would be appreciated, thanks!

image image

2 Likes

It has been fixed now. It was the script issue.