So I'm making a sort of shop gui, and I have a TextButton that when clicked, is supposed to show the frame holding the gamepasses. Here's the script I put inside the TextButton:
function onClicked() script.Parent.Parent.ShopFrame.Visible = true end script.Parent.MouseButton1Down:connect(onClicked)
It works in the Studio testing mode, but when I go to the Roblox player, it doesn't show up when I click the textbutton! Please help!