I made a shop GUI for my game but mobile players cant open it, the script I put in is: script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Frame.Visible = true end) It is in a local script. I just cant seem to make it so that people on mobile can open the shop or evan press the button.
COMMUNITY QUESTION
How can I make it so that a text button can be clicked on mobile?
1 answer
Instead of MouseButton1Click, do
script.Parent.TouchTap:Connect(function()
-- stuff
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
script.Parent.Activated
But the button does work on PC right?