Here the error ;-; : 13:51:30.593 - Frame is not a valid member of ScreenGui
And the script :
game.ReplicatedStorage.ShowShop1.OnClientEvent:Connect(function()
script.Parent.Frame.Visible = not script.Parent.Frame.Visible
end)
Here the error ;-; : 13:51:30.593 - Frame is not a valid member of ScreenGui
And the script :
game.ReplicatedStorage.ShowShop1.OnClientEvent:Connect(function()
script.Parent.Frame.Visible = not script.Parent.Frame.Visible
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
14 comments
My guess is the Frame isn't in script.Parent,check your Explorer window
It is.
Any screen shots?
Also where is the screengui positioned?
The ScreenGui is supposed to appear when we hit the part and it's a shop gui
Please make sure this is a LocalScript
My guess is for you to use the PlayerGui. Do you know how to use that?
Check the name of the Frame, maybe you accidently have a space in it?
You also need to make sure that the frame is active, not just visible.
That shouldn't matter, according to the error it doesn't exist
script.Parent.Frame is not there, check it again.
@Spjureeedd @ParticularyPenguin It's active,visible,it's here,no space in the name so idk
Make sure frame is in screengui not part
It was just not archived