Help with open frame script

Anyone know why my open frame script won’t work? It was saying that MouseButton1Click wasn’t a valid member and it wasn’t an option to choose when I wrote the script.

MouseButton1Click does not work for textlabels. Do TextButtons or ImageButtons. Also, your script will work but it could also be simplified

script.Parent.Parent.PlayerProfileInfo.Visible = true

Well I can’t see everything, but try

script.Parent.Parent.PlayerProfileInfo.Visible = true

From what I can see you have too many parents, and I don’t know why you’re accessing screengui like that > also you can’t use mouseclick from a text label > use a text button.

Ohhhhh, I made it a textlabel on accident lol! Thank you.

Nope I just used a textlabel on accident lol.