Basically, I'm making a simple meme game that requires you to press a Text Button in a Surface Gui which, when LMB clicked on, it will make a frame in the Starter Gui visible. But, the code I'm using isn't working. Lemme explain a bit.
My frame which I want to make visible is in here: StarterGui - ScreenGui - Frame
The Text Button in the SurfaceGui I want to make the frame visible with: Workspace - Part - SurfaceGui - TextButton - Local S
Here is the script that I would normally use in this situation:
local Frame = game.StarterGui.ScreenGui.Frame
script.Parent.MouseButton1Click:Connect(function() frame.Visible = true end)
please help lol
