13:19:11.221 FlopZone auto-recovery file was created - Studio - C:/Users/mrtix/Documents/ROBLOX/AutoSaves
13:19:15.244 Players.NubblyFry.PlayerGui.ShopGui.ShopFrame.Tix Value.Tix Currency Counter:7: Expected âendâ (to close âfunctionâ at line 3), got ; did you forget to close âfunctionâ at line 5? - Studio - Tix Currency Counter:7
13:19:15.244 Players.NubblyFry.PlayerGui.ShopGui.ShopFrame.Storz Value.Storz Currency Counter:7: Expected âendâ (to close âfunctionâ at line 3), got ; did you forget to close âfunctionâ at line 5? - Studio - Storz Currency Counter:7
13:19:23.440 Visible is not a valid member of ScreenGui âPlayers.NubblyFry.PlayerGui.Menuâ - Client - Resume Script:4
13:19:23.441 Stack Begin - Studio
13:19:23.441 Script âPlayers.NubblyFry.PlayerGui.Menu.PlayButton.Resume Scriptâ, Line 4 - Studio - Resume Script:4
13:19:23.442 Stack End - Studio
13:19:23.723 Visible is not a valid member of ScreenGui âPlayers.NubblyFry.PlayerGui.Menuâ - Client - Resume Script:4
13:19:23.724 Stack Begin - Studio
13:19:23.724 Script âPlayers.NubblyFry.PlayerGui.Menu.PlayButton.Resume Scriptâ, Line 4 - Studio - Resume Script:4
13:19:23.725 Stack End - Studio
13:19:23.908 Visible is not a valid member of ScreenGui âPlayers.NubblyFry.PlayerGui.Menuâ - Client - Resume Script:4
13:19:23.908 Stack Begin - Studio
13:19:23.909 Script âPlayers.NubblyFry.PlayerGui.Menu.PlayButton.Resume Scriptâ, Line 4 - Studio - Resume Script:4
13:19:23.909 Stack End - Studio
13:19:25.423 Players.NubblyFry.PlayerGui.Menu.ShopButton.Shop Visible:2: attempt to index nil with âVisibleâ - Client - Shop Visible:2
13:19:25.423 Stack Begin - Studio
13:19:25.424 Script âPlayers.NubblyFry.PlayerGui.Menu.ShopButton.Shop Visibleâ, Line 2 - Studio - Shop Visible:2
13:19:25.424 Stack End - Studio
13:19:25.606 Players.NubblyFry.PlayerGui.Menu.ShopButton.Shop Visible:2: attempt to index nil with âVisibleâ - Client - Shop Visible:2
13:19:25.607 Stack Begin - Studio
13:19:25.607 Script âPlayers.NubblyFry.PlayerGui.Menu.ShopButton.Shop Visibleâ, Line 2 - Studio - Shop Visible:2
13:19:25.607 Stack End - Studio
13:19:26.123 Visible is not a valid member of ScreenGui âPlayers.NubblyFry.PlayerGui.Menuâ - Client - Resume Script:4
13:19:26.124 Stack Begin - Studio
13:19:26.124 Script âPlayers.NubblyFry.PlayerGui.Menu.PlayButton.Resume Scriptâ, Line 4 - Studio - Resume Script:4
13:19:26.125 Stack End - Studio
Is it in LocalScript?
If Iâm wrong, I ask you to correct me. As I understand it, you want that, when clicking on a specific button (I believe it is the parent of the script), the ShopFrame gui will close. I am not focused on this gui area, but I believe that the script is totally correct, and my hypothesis is that it is in ServerScript and not in LocalScript. If in fact I identify an error, I will reply to my post.
Edit: Literally as soon as I sent it I identified an error. When you intend to make a frame invisible you will not use âVisibleâ, as in the case of the line: âShopFrame.Visible = falseâ. In this case you should use âEnabledâ, replacing it with: âShopFrame.Enabled = falseâ.
Not really, Frame has the Visible property and if you turn it to âfalseâ the Frame and Itâs descendants will all be invisible/will not be rendered. (Check frame at the api-reference)
From what I saw now, I believe it is a frame, but only with it confirming us such a thing, but if it is indeed a frame, just check if it is a LocalScript or not. If are a ScreenGui, just change from âVisibleâ to âEnabledâ.
This topic is actually a duplicate of this topic: Trying to make a Shop and Menu GUI but Failed, In which shows that heâs actually trying to change the Visible property of a Frame, and script.Parent.Parent is a Frame called âShopFrameâ.