Im making a shop, but I can't fix this error. Can someone help me?
Here is the code: ~~~~~~~~~~~~~~~~~local Frame = script.Parent.Parent.Frame
script.Parent.MouseButton1Click:Connect(function() Frame.Visible = true end)
Thank you for taking your time to help me

2 comments
I'm getting the same error.
This is pointless, it does the exact same thing except it's in a useless function. And MouseClick is only for ClickDetectors on 3d Parts