Try using UserInputService instead as that gives the best compatibility for mobile here you can read more about the functions and UserInputService itself!
I don’t think that’s what the OP is talking about… There is an old deprecated event on GUIButtons called Activated. UserInputService would not be of any use in this case.
Try deleting the MouseButtonUp and Down events listners to see if that makes a change. Otherwise, it could have to do with external factors. Just make sure it’s a LocalScript under the button in PlayerGui and it should function properly.
I don’t see the issue here in that case. How are you certain that it isn’t working, I just checked and it seems to be working perfectly fine. Can you record a gif of both your workspace and the output so I can better visualize the situation?
What I suggest in this case is testing to see if the issue is within the function itself, probably try running the .Activated event to print something and see if that works