Hello, I was creating a shop gui, but looks like that when I click the open button on mobile it won’t show up. This is the script that I put into the open button:
local open = script.Parent.Parent.Shop
local click = script.Parent
click.MouseButton1Click:Connect(function()
open.Visible = true
end)
Defining everything without using script.Parent is common practice and much more useful when debugging code, especially on the devforums. Correct your code next time, or this time, because there’s no useful context we can take out of it.