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)

14 comments

0

My guess is the Frame isn't in script.Parent,check your Explorer window

0

It is.

0

Any screen shots?

0

Also where is the screengui positioned?

0

The ScreenGui is supposed to appear when we hit the part and it's a shop gui

0

Please make sure this is a LocalScript

0

My guess is for you to use the PlayerGui. Do you know how to use that?

0

Check the name of the Frame, maybe you accidently have a space in it?

0

You also need to make sure that the frame is active, not just visible.

0

That shouldn't matter, according to the error it doesn't exist

0

script.Parent.Frame is not there, check it again.

0

@Spjureeedd @ParticularyPenguin It's active,visible,it's here,no space in the name so idk

0

Make sure frame is in screengui not part

0

It was just not archived