Button only works on PC, not even in the Roblox studio Phone emulator


It does work on PC but not on mobile, it has to be a studio bug and MouseButton1Click also doesnt work

1 Like

Works fine on my end, have you tried restarting studio or playtesting this in a real Roblox server?

yes, even on my real mobile,


I even tried printing and it only prints on pc

Can you tell us what is supposed to happen on the screen when the client clicks the buttons? Also, can you verify that the .Activated event is properly connected by putting a print statement every time the client clicks the button?

as i said I even tried printing and it only prints on pc look :

PC - image , clicked 5 pets
IPHONE 14 Emulator -
image , nothing

so i tried MB1C :

PC - image
Mobile - Nothing

It seems like the event isn’t properly connected. Can you try adding a task.wait at the beginning of your script? Let’s let the client to load a majority of the assets in game before properly connecting the GUIs to the event.

I just found out the event gets fired 26 times at start, maybe that could be the issue

That’s weird, can you try to confirm that each template object should only be connected once in your script?

oof, it was something with layoutOrder + Zindex, something transparent was prolly above it. But that doesnt explain why it worked on PC :face_with_monocle:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.