When I run the game to test it, sometimes the buttons press normally, but sometimes the buttons don’t press at all.
default

when mouse hover

something wrong

Button doesn’t react when mouse hover and click.
The script simply turns on and off the enable property of the parent screen gui object. This often happens when testing with two player in a studio. I’d like to know if this is just a bug in Roblox Studio or if I did something wrong.