Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I make it so that a text button can be clicked on mobile?

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.

2 comments

0

script.Parent.Activated

0

But the button does work on PC right?

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.